Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Geotag images / Google Earth  (Read 8343 times)

0 Members and 1 Guest are viewing this topic.

SASniper

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Geotag images / Google Earth
« on: August 17, 2005, 05:29:48 am »

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.
« Last Edit: October 21, 2005, 07:50:04 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Geotag images / Google Earth
« Reply #1 on: August 17, 2005, 08:18:19 am »

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

naxtor

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Geotag images / Google Earth
« Reply #2 on: August 17, 2005, 03:16:36 pm »

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  :-[ :-\\
Logged

SASniper

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Geotag images / Google Earth
« Reply #3 on: August 17, 2005, 10:14:27 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Geotag images / Google Earth
« Reply #4 on: August 18, 2005, 10:49:39 am »

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..
Logged

kenpty

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • My Photoblog
Re: Geotag images / Google Earth
« Reply #5 on: October 21, 2005, 07:13:38 pm »


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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 165
Re: Geotag images / Google Earth
« Reply #6 on: December 24, 2005, 12:26:48 pm »

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...
Logged

ecto

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 144
    • My very incomplete gallery
Re: Geotag images / Google Earth
« Reply #7 on: December 24, 2005, 01:06:18 pm »

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.

Code: [Select]
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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Geotag images / Google Earth
« Reply #8 on: January 21, 2006, 09:15:37 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.