Convert Postgresql data to Open Street Maps

I have some shapefiles that I tried to convert to .osm without success. After hours of trying, I am looking for a different approach. I want to know if I can import from Postgres into Open Street Maps.

I really work hard for this, but I cannot find a way.

+4
source share
1 answer

You can do this using osmosis, this is an example of exporting from postgis to osm:

osmosis --read-apidb host="x" database="x" user="x" password="x" --write-xml file="planet.osm" 

Here is the HowTo osmosis installation

+5
source

Source: https://habr.com/ru/post/1392111/


All Articles