Created attachment 63372 [details] adds the altitude, longitude and latitude to the gallery.xml Version: unspecified OS: Linux the GPS info should also be exported to the gallery.xml file (together with the other exif info), so it can be used further. Themes with included geoinfo maps (ą la Flickr) should then be easy possible with leaflet or openlayer. My patch adds the altitude, longitude and latitude to the gallery.xml file in the exif section. I added an example how to use it to the "details"-theme. Please consider my patch. Reproducible: Didn't try Steps to Reproduce: export a gallery with HTML-Export plugin. Actual Results: the generated gallery.xml file does not include geolocation details (gps info, such as altitude, longitude and latitude) Expected Results: the generated gallery.xml file includes the following tags in exif section: exifgpslatitude exifgpslongitude exifgpsaltitude
Created attachment 63374 [details] adds the altitude, longitude and latitude to the gallery.xml If the pic does not have exif or xmp header, then the element.mExifGPSAltitude, element.mExifGPSLatitude and element.mExifGPSLongitude would have been empty, so this should now be fixed, also in the template.xlt was a little mess which is fixed now.
Git commit b431e3d5577bbcc069f46160d39778405bdb999c by Petri Damstén. Committed on 12/09/2011 at 11:16. Pushed by pdamsten into branch 'master'. add GPS info to gallery.xml in htmlexport plugin BUG: 281316 M +3 -0 htmlexport/generator.cpp M +9 -2 htmlexport/imageelement.h M +22 -2 htmlexport/imagegenerationfunctor.cpp M +3 -0 htmlexport/themes/details/template.xsl http://commits.kde.org/kipi-plugins/b431e3d5577bbcc069f46160d39778405bdb999c