Image Latitude & Longitude

Results 1 to 5 of 5

Thread: Image Latitude & Longitude

  1. #1
    Join Date
    Dec 1969
    Posts
    159

    Default 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

  2. #2
    Join Date
    Dec 1969
    Posts
    96,019

    Default

    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.

  3. #3
    Join Date
    Dec 1969
    Posts
    159

    Default

    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

  4. #4
    Join Date
    Dec 1969
    Posts
    96,019

    Default

    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.

    http://en.wikipedia.org/wiki/Geotagging
    http://en.wikipedia.org/wiki/Geotagged_photograph
    http://en.wikipedia.org/wiki/Exif
    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),
    Now all you need is to see if the .NET library for images gives you a way to find APP1.


  5. #5
    Join Date
    Dec 1969
    Posts
    159

    Default

    Thank You Bill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •