[Tile-serving] [osm2pgsql] Adding/storing the node's lon and lat as columns in Postgis (#562)

samisnunu notifications at github.com
Fri Mar 25 01:21:00 UTC 2016


Hi,
I want to import(store) the node's lon and lat into separate columns in PostGIS.

As long as the.osm xml file has already this info.
even if I use the  -E:4326, --extra-attributes parameters, and set them in the .style file:
node    lat                   		real    linear
node    lon                   		real    linear

to be imported as columns in PostGIS _point table, osm2pgsql will not import them at all.

Please advise,

Thanks
Sami

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/562
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160324/ef934c1f/attachment.html>


More information about the Tile-serving mailing list