PDA

View Full Version : Add form for Google Earth KMZ links


cferrero
24th of October 2006 (Tue), 08:02
Add an extra form box to EDITOR_photo.php which allows you to give the path to a Google Earth KMZ file for the current photo. This would then be added to the photo description as a separate line, e.g.
"Google Earth link to this image"

User editable variables (set in, e.g. basecode/SETUP_settings.php)
- The source directory for the KMZ files
- An optional image to use in the link (e.g. http://www.google.com/earth/images/google_earth_feed.gif)

Suggested default:
- By default, the KMZ filename should have the same name as the image file, but with a .kmz ending

DavidW
24th of October 2006 (Tue), 08:41
If I get the time to implement GPS support in EE (http://photography-on-the.net/forum/showthread.php?t=224680), Google Earth support would be part of it.

I'm intending to do some work with the metadata parsers (as I already have done some bug fixing on them here (http://photography-on-the.net/forum/showthread.php?t=230992) and here (http://photography-on-the.net/forum/showthread.php?t=224121)) which would also involve adding GPS support. The next step once EE is capable of reading GPS metadata would be to add GPS variables to the database, agreeing with Pekka on the fields and formats. From there, it would follow to add support for entry of a location into EE both manually and via import of a KMZ file.

Once that work is done, any sort of output you wish for can be generated, including KMZ.


If I get this done, the code would be contributed back to the main EE release. However, my time is somewhat at a premium for the next month, so I don't see anything happening imminently.



David