News for hackers. Stuff that matters.
Re:Show HN: Compass that points you to a photo's EXIF location by sdrothrock on Tuesday May 26, 2015 @01:10AM (#9603052)
It uses the EXIF data, so it would use the location data in the EXIF.

> So this would not work with photos taken with a DSLR without a GPS module/attachment.

Depends. You can also retroactively edit the EXIF data to reflect a location. It should work on those kinds of pictures, even though the original camera didn't have a GPS.

Re:Show HN: Compass that points you to a photo's EXIF location by NovaS1X on Tuesday May 26, 2015 @01:13AM (#9603064)
Correct, I should've been been more clear in my post; I meant location data in EXIF data that has been recorded by the/a GPS module.

I think this is so. Reading the developer's post it seems he had the idea to use pictures taken with his iPhone, which would include GPS data in the EXIF.

I think this is a fantastic idea.

Re:Show HN: Compass that points you to a photo's EXIF location by gohnjanotis on Tuesday May 26, 2015 @08:52AM (#9604436)
I don't have much experience with DSLRs and didn't even know there were GPS modules for them, but that makes sense and is awesome!

But yep it just pulls the lat and lon from the EXIF data, so it should work fine. The standard for EXIF is degrees, minutes, seconds and then a separate "Ref" value for N or S.

I have to do a little math on those values to turn everything into a decimal format, but based on this standard I would assume everything saving location in EXIF data would use this same format so it should all be compatible:

http://www.exiv2.org/Exif2-2.PDF (See page 53 of the PDF under the heading GPSLatitude)

If you test it, let me know!

Re:Show HN: Compass that points you to a photo's EXIF location by NovaS1X on Tuesday May 26, 2015 @01:58PM (#9606405)
I just might do that!

My initial thought was pulling some of my favorite shots from Flickr and using this to find the location of where the shot was taken. Great for finding those hidden photoshoot locations!

Unfortunately most DSLRs do not have the GPS built it. It's usually an add-on attachment.