Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
35 stars 35 forks source link

Fix total digits for logitude column of osm_place_table #134

Closed KakersUK closed 7 years ago

KakersUK commented 7 years ago

The valid range of latitude in degrees is -90 and +90 for the southern and northern hemisphere respectively. Longitude is in the range -180 and +180 specifying coordinates west and east of the Prime Meridian, respectively.

You are able to set the correct latitude and longitude on a specific picture, but not as a place. It seems the logitude column in osm_place_table needs to have 9 total digits instead of 8. Otherwise the longitude is restricted to between -99.999999 and +99.999999.

xbgmsharp commented 7 years ago

Thanks