Geotag images / Google Earth Geotag images / Google Earth
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Geotag images / Google Earth

Started by SASniper, August 17, 2005, 05:29:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SASniper

Would it be possible to have a field for geo-tagging photos?

This would be a fantastic feature when combined with something like Google Earth. If combined properly, you could view thumbnails of your images at the location they were taken!!! It's sort of been done already with Flickr gallery, but it would be nice to have something private.

Thanks.

Joachim Müller

good idea, although it shouldn't go into the core code, but as a plugin imo.

naxtor

with http://dev.system7designs.com/ you can add note using google maps api but the problem is you can only use USA or UK place  :-[ :-\\

SASniper

GauGau ... is the EXIF support in the core code? I think EXIF has a specific place for a geo-tag. Perhaps it should go there? The disadvantage would be that you probably don't have easy access to the EXIF info ... as if it were in the db? or do you?

If not in core, then a plugin would be great! Combined with naxtor's idea, if the tag was written to the db, you could pull a lat/long and generate a Google map thumbnail for each image too  :o

Joachim Müller

EXIF support is in the core code, but I haven't seen a geotag in it. EXIF support has even been improved in cpg1.4.x..

kenpty


Hello everybody!

I'll be interested in working in such a mod but has no experience creating them. Any help would be great.

What I'm doing right now is quite cumbersome:

-Identifiying the place using Google Earth
-Extract the coordinates from the kmz file
-Using WWMX Location Stamper software update the EXIF Header with the geotags
-Upload the pictures to my gallery

Next step would be hacking the code in the coppermine EXIF reader to pull the location and store in a table so I can use that to create a link either to Google earth as a autogenerated kmz file or to Google maps.

But that doesn't solve updating the EXIF headers already in the Gallery (Unless I download all of them an process them with the Locator Stamper offline)

Would be great being able to mark the location as part of the upload process and then get Coppermine to update the EXIF headers.


Loïc

Something simple has been done by mab and the code is shown here: http://forum.coppermine-gallery.net/index.php?topic=25128.0

It's in french so if you need a translation of some part of the text, ask for it here and I'll do it...

It works ok in my own gallery: http://presquile.crozon.free.fr/coppermine/geglobal.php

I hope this will help...

ecto

I haven't heard the word "GeoTag" before, but I know Exif supports a whole lot of GPS tags.

http://www.exif.org/Exif2-2.PDF

"In addition to the attribute information indicated as mandatory in the TIFF standard, this Exif
standard adds the TIFF optional tags that can be used in a DSC or other system, Exif-specific tags for recording
DSC-specific attribute information, and GPS tags for recording position information."

These GPS tags are stored the same way as Exif tags, i.e. it wouldn't be hard to implement insertion/extraction of these tags.


GPS tag version - GPSVersionID
North or South Latitude - GPSLatitudeRef
Latitude - GPSLatitude
East or West Longitude - GPSLongitudeRef
Longitude - GPSLongitude
Altitude reference - GPSAltitudeRef
Altitude - GPSAltitude
GPS time (atomic clock) - GPSTimeStamp
GPS satellites used for measurement - GPSSatellites
GPS receiver status - GPSStatus
GPS measurement mode - GPSMeasureMode
Measurement precision - GPSDOP
Speed unit - GPSSpeedRef
Speed of GPS receiver - GPSSpeed
Reference for direction of movement - GPSTrackRef
Direction of movement - GPSTrack
Reference for direction of image - GPSImgDirectionRef
Direction of image - GPSImgDirection
Geodetic survey data used - GPSMapDatum
Reference for latitude of destination - GPSDestLatitudeRef
Latitude of destination - GPSDestLatitude
Reference for longitude of destination - GPSDestLongitudeRef
Longitude of destination - GPSDestLongitude
Reference for bearing of destination - GPSDestBearingRef
Bearing of destination - GPSDestBearing
Reference for distance to destination - GPSDestDistanceRef
Distance to destination - GPSDestDistance
Name of GPS processing method - GPSProcessingMethod
Name of GPS area - GPSAreaInformation
GPS date - GPSDateStamp
GPS differential correction - GPSDifferential

Tranz

Here's a mod I did to generate a map of locations using Google Maps API: http://forum.coppermine-gallery.net/index.php?topic=26571.0

There is additional code if you want a small map in displayimage.php for each file.