Page 1 of 1

Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Mon Jan 02, 2012 1:26 pm
by visentin
Many modern cameras like the Sony HV9X have such feature.
Why not making SP work like websites like Panoramio, setting the pictures position identically as the position is recorded inside the picture file ?

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Mon Jan 02, 2012 4:08 pm
by MoapaPk
If you programmers have code that will binary read the file, and pull a valid position out of exif, all within the very HLL used for summitpost... then contribute!

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Tue Jan 03, 2012 7:59 am
by visentin
And so end, as very often, Site feedback posts. Always someone more clever mocking the idea, but rarely something constructive...

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Tue Jan 03, 2012 12:52 pm
by MoapaPk
visentin wrote:And so end, as very often, Site feedback posts. Always someone more clever mocking the idea, but rarely something constructive...


That wasn't mocking. I actually thought you were a programmer. That's what has to be done, and I wondered if there were a freely-available widget to do it. Nowadays, most people who maintain code for these sites know only the VHLL.

But then I did some searching and found:
http://php.net/manual/en/book.exif.php

so maybe it isn't that hard after all.

The bulk uploader already populates the image data fields with exif values (if available), so mvs might be the guy to ask.

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Tue Jan 03, 2012 2:39 pm
by visentin
OK sorry for misunderstanding... I didn't get what you meant by HLL and I thought about some LOL-like stuff.
Yes, Exif data is the place where it is stored in. I ignored the bulk uploader manages it, however I did upload some recent pictures with exif data and the GPS coordinates point somewhere in USA.
I'm not one of the programmers of SP (however I wish I could try !), I think Montana Matt is the man for that as he implemented already the GPX routes features.
Eric

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Tue Jan 03, 2012 5:52 pm
by visentin
Yes, the uploading process would be the main goal of my idea.
My other idea behind the first would be to Geo-tag all already-existing pictures who do not own coordinates. I don't know how this action could be performed, probably as a background process, and probably very time-consuming. I would also depend on it the exif info remains present once the picture is uploaded on the cloud server, otherwise the idea can't be.
One simple way to test it without even being an elve could consist in uploading an exif-tagged picture, downloading it again in full size, and then uploading it on Picasa (which displays simply the coordinates). Going to try that as soon as I have time for my curiosity...

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Thu Jan 05, 2012 8:35 am
by visentin
The test is positive. Already uploaded pictures on SP do keep EXIF data in it.
My test :
http://www.summitpost.org/view_object.p ... _id=769474
once downloaded and uploaded again in Picasa :
https://picasaweb.google.com/1170460760 ... anvier2012
it does show the position

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Thu Jan 05, 2012 5:13 pm
by MoapaPk
Again. MVS already knows how to populate image fields with his bulk uploader -- I populate the exif fields with the image title and description, using a freeware bitmap editor on my PC, and the bulk uploader populates the image title and description in the SP php database, so the uploaded image pops up "done." He might be willing to share that part of the code with Matt, as an example.

http://www.summitpost.org/summitpost-bu ... der/488357

Re: Automaric GPS coordinates for geo-tagged photos ?

PostPosted: Thu Jan 05, 2012 7:56 pm
by visentin
I need to try uploading the parrot with bulk uploader to check again (I did it with the site).
I meant, my previous experiment was just to verify if once uploaded the SP pictures keep the EXIF data. I was fearing some resizing or some resolution transformation in order to save space, which would mean one picture replaced with another then no exif. but it is not the case.
This means that if Matt and other programmers are implementing the exif reading during the upload (which they can do with the help of Michael despite Matt said it's easy), they can also consider extracting the right coordinates for all existing pictures without having any. But this would be a mass of data to process.. Perhaps those from a certain date (exif technology is recent) can reduce the amount of pictures to check.