I came across few pictures of this kind, but find it difficult to search for the way people make them. What kind of settings you should use in your camera, and do you use photoshop after that?
This picture is a composition of slices of many photos taken from different heights, likely from a drone. The key to understanding it is to examine the camera's perspective or point of view from different horizontal slices of the composited image.
- For approximately the bottom quarter of the image, the camera is below the roof lines of the buildings at the lower left and right sides of the image.
- Starting at about the 3rd or 4th building at the lower left (just past the 2 white cars parked on the side of the street), the camera can see the top of the buildings, and very quickly, is seeing over the buildings into the courtyards.
- As you scan higher in the image, the camera's perspective shifts higher and higher, seeing more of the tops of buildings. Note, however, that you always can see the side of all buildings facing the camera. Thus, the camera is never directly above the buildings as you go higher.
Effectively, if you "number" the pixel rows from 1 to N starting from the bottom, the pixel row is correlated with the altitude of the camera (not necessarily a linear relation, though).
As far as camera settings, the camera is just taking a sequence of images every so often (perhaps once to several times per second), while the drone flies vertically). This is probably programmed into an intervalometer attached to / controlling the camera. The intervalometer might be a feature of the camera though.
To produce this effect, the images must be combined in post-processing using Photoshop, or another such image editor.
Alternately, it might be the panorama feature of the camera, rather than holding the camera (or mobile phone) vertically and rotating horizontally, the camera is mounted horizontally and moved vertically, again via drone. If that is the case, the camera is performing the automatic "stitching".
Either way, this is a very interesting effect, a bit reminiscent of the street-folding scene in Inception.
Edit: The author of the OP's image, sky.guliveris.lt (a graphics / animation / video / aerial filming services company in Lithuania), has a clip of drone video on Shutterstock.com showing the same town square of the old town section of Vilnius, Lithuania. Based on the footage, I believe the drone also had to fly down the street to incorporate the top portions of the image; they are too far away in the drone footage to have any detail in the composited image if the drone only took off vertically.
Update: In 2017, PetaPixel posted a couple articles regarding these types of images, including a breakdown of how to create them:
According to this article, each image is made of between 18 and 20 photos taken from a drone.
It does not say what happens to the sets of images but it would most likely be a software process that works similarly to panorama stitching.