Image Latitude & Longitude
Is there any way that we can get Latitude and Longitude from an Image using asp.net?
I get pictures from different people and i have to find the location, how do i do? Is it possible ? Or What specifically do i need to ask people who ever send the pictures to me? I have no clue, Please help me
Not unless the camera they took the picture with had a GPS system in it *AND* then encodes the location into the "extra" JPEG information.
I would guess that WAY fewer than 10% of all cameras in use today have built in GPS.
So... Ask the people who send the pictures to give either lat/long or the address where the picture was taken. If they give you the address, you can use google maps to find the lat/long.
Thank you Bill for you answer.
Suppose if they took a picture with GPS camera, how can i get the Latitude and Longitude? Please guide me with a piece of code. Thanks again
I don't know offhand. I'm pretty sure the information is buried in the JPG format, but I don't know enough about the JPG format to know how to extract it.
On the other hand, I do know how to use Google.
Now all you need is to see if the .NET library for images gives you a way to find APP1.
When Exif is employed for JPEG
files, the Exif data are stored in one of JPEG's defined utility Application Segments
, the APP1 (segment marker 0xFFE1),