Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Converting Postgresql data to Open Street Maps

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

I'm really working hard for it but I'm not finding a way.

like image 1000
Andre Mariano Avatar asked Jan 20 '12 19:01

Andre Mariano


1 Answers

You can do that with osmosis, this is an example to export from postgis to osm:

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

Here is an osmosis setup HowTo

like image 71
Francisco Valdez Avatar answered Sep 19 '22 22:09

Francisco Valdez