[Tile-serving] [osm2pgsql] Broken geometries with -E 4326 projection. (#121)
Ander
notifications at github.com
Mon Feb 17 12:13:52 UTC 2014
Hi, I am using osm2pgsql but I want to import data in EPSG:4326 projection. Therefore, I use the -E 4326 flag. However I get all geometries broken and converted to a big square.
osm2pgsql -c -s -d app -U user -W -H localhost -P 5432 -E 4326 file.osm
I think this is due to having planet_osm_nodes lat / lon columns as integer, which truncates lat / lon decimals and so geometries get wrong coordinates.
Am I doing something wrong? Thanks in advance.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/121
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140217/ebdba44d/attachment.html>
More information about the Tile-serving
mailing list