sitesuf.blogg.se

Windows 10 photo viewer place photos on google map from gps data
Windows 10 photo viewer place photos on google map from gps data





windows 10 photo viewer place photos on google map from gps data windows 10 photo viewer place photos on google map from gps data

We launch the URL using the default browser.Note that you can alter the URL to use any other mapping site, or since you have the coordinates, you could pass that to any mapping API of your choice. After we have the Longitude and Latitude, we construct a URL to open Google Maps to that location.Once we have the GPS details, we use the Coord functions to convert them to proper Longitude and Latitude.In GeoPoint.GetFromImageFile(), we parse the image meta data for GPS details.On startup ( Program.cs), we parse the command line for the path to a valid picture file.If you would like to extend the code for your own use, focus on the two classes that encapsulate most of the work, Coord.cs and GeoPoint.cs. The code should compile and run without intervention. Some notable resources: ExIF Wiki, Google Maps API, GeoCode Conversion, Image Properties API Using the Code BackgroundĪlmost all of the code to make this happen is available elsewhere, either in MSDN or on CodeProject, this just ties all the pieces together into a usable package. To make using this easier, leave it on your desktop and drag and drop photos on to it, or wire it up as an alternative opener for photo files (see sample image). If the image does not have GPS data encoded in its metadata, or the file type passed in is not an image, a pop-up error explains the problem. Smart phones seem to do this well, but once you have copied the picture to your desktop/laptop, it is somewhat difficult to see where the photo was taken. This Windows Desktop application takes a picture as an input parameter and if that picture has GPS meta data, it will open the location that picture was taken in Google Maps (configurable to other mapping sites or applications). Download source code and compiled assemblies - 591.7 KB.







Windows 10 photo viewer place photos on google map from gps data