With the advent of photography, people who had never seen other places/cultures could see them for the first time ever, and with the massification of this technique, those who could access it must had an enormous amount of visual information of 'far away places' few others had.
Photography also revolutionized the accuracy and time resistance of data preservation techniques.
I wonder if photography somehow influenced literature and other arts, and/or our society as a whole as it must have changed our perception of ourselves in the great scheme of things, and the diversity of scenery and people there are there.
Is there some study about this?
There are literally thousands of studies, books and essays about photography, so you will have to be more specific if you want a long answer on a real theme. But for example to answer this:
I wonder if photography somehow influenced literature and other arts
Yes. A quite common start of the history of modern art is the invention of the camera.
Susan Sontag's On Photography is a widely-read book containing her answer, as a famous photographer in her own right, to this very question. It's pitched to an intellectual audience, thoughtful, and one of many important texts on the issue.