There’s software that can locate where you are using a photograph of buildings.
Identify location by photographs
This early software identifies a user's location by analyzing photographs of buildings, providing a precursor to modern visual geolocation and landmark recognition by matching architectural features against a database of city images.