Welcome to SP!  -
Areas & RangesMountains & RocksRoutesImagesArticlesTrip ReportsGearOtherPeoplePlans & PartnersWhat's NewForum

Automaric GPS coordinates for geo-tagged photos ?

Suggestions and comments about SummitPost's features, policies, and procedures. Post bugs here.
 

Automaric GPS coordinates for geo-tagged photos ?

Postby visentin » Mon Jan 02, 2012 1:26 pm

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 ?
User Avatar
visentin

 
Posts: 1438
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 81 times in 56 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby MoapaPk » Mon Jan 02, 2012 4:08 pm

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!
User Avatar
MoapaPk

 
Posts: 7603
Joined: Fri May 13, 2005 7:42 pm
Location: Las Vegas, Nevada, United States
Thanked: 738 times in 476 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby visentin » Tue Jan 03, 2012 7:59 am

And so end, as very often, Site feedback posts. Always someone more clever mocking the idea, but rarely something constructive...
User Avatar
visentin

 
Posts: 1438
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 81 times in 56 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby MoapaPk » Tue Jan 03, 2012 12:52 pm

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.
User Avatar
MoapaPk

 
Posts: 7603
Joined: Fri May 13, 2005 7:42 pm
Location: Las Vegas, Nevada, United States
Thanked: 738 times in 476 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby visentin » Tue Jan 03, 2012 2:39 pm

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
User Avatar
visentin

 
Posts: 1438
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 81 times in 56 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby Montana Matt » Tue Jan 03, 2012 4:26 pm

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

Looked at that yesterday after reading visentin's initial post. I've never done anything with exif data, but it appears fairly straightforward to get access to it in PHP. I'll probably experiment some with it. This post nudged me to consider revamping the photo upload process somewhat as well (not just the addition of using geo-tagging data).
User Avatar
Montana Matt
Site Admin
 
Posts: 1128
Joined: Sun Apr 11, 2004 10:06 pm
Location: Ashland, Oregon, United States
Thanked: 340 times in 184 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby visentin » Tue Jan 03, 2012 5:52 pm

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...
User Avatar
visentin

 
Posts: 1438
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 81 times in 56 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby visentin » Thu Jan 05, 2012 8:35 am

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
User Avatar
visentin

 
Posts: 1438
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 81 times in 56 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby MoapaPk » Thu Jan 05, 2012 5:13 pm

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
User Avatar
MoapaPk

 
Posts: 7603
Joined: Fri May 13, 2005 7:42 pm
Location: Las Vegas, Nevada, United States
Thanked: 738 times in 476 posts

Re: Automaric GPS coordinates for geo-tagged photos ?

Postby visentin » Thu Jan 05, 2012 7:56 pm

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.
User Avatar
visentin

 
Posts: 1438
Joined: Sun Jan 13, 2008 12:27 pm
Location: WrocBaw, France and, Poland
Thanked: 81 times in 56 posts


Return to Site Feedback

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

© 2006-2013 SummitPost.org. All Rights Reserved.