|Posted: Wed, 2006-09-06 17:39|
I have a problem with the Google Maps module. I'm running Gallery 2.1.2 and installed the current version (0.5.1d) og the module.
When I then updated the GPS info from the EXIF in my current images, I noticed that the position got mixed up. Even though my images had tags with Latitude=S and Longitude=E, the images showed up with Latitude=N and Longitude=W. This of course caused the images to be shown in the wrong place on the map. Needless to say the EXIF info is correct and work ok in other applications.
I then decided to try the latest release from 'svn' and downloaded and installed it (it says version 0.5.2a). When I now populate from Exif (in the maintenance menu) I see that the latitude/longitude problem seem to be fixed. But the resulting position contain commas instead of points as decimal separator. Eg.:
This cause Google Maps to hang with a script error when loading in the browser. Manually changing the commas to points solves the problem (but it is a hassle for 100+ images).
Trying the 'Google Map' tab from the 'edit item' page, I get the same result (commas) when I select 'Get via EXIF Infos'. But here I'm not able to save the coords unless I manually change the commas to points.
I assume that this might be due to my locale using commas for decimal point, but it still must be a bug. Any suggestions as to how to fix this?