This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

how to import .osm files to postGIS?

0

maybe it's a simple question for most of you ,but it really confused me,does it have to use commend line tools to open it since i've seen somebody open the osm file by simple dragging? i can't remember the tool,can someone give me some clues?

asked 03 Mar '14, 02:02

post_cs's gravatar image

post_cs
1111
accept rate: 0%

edited 03 Mar '14, 02:02


One Answer:

1

There are a few tools to load osm data into a postgis db, the most commons being osm2pgsql, osmosis, and imposm. There are many different use cases; what tool and which options you use really depends on what you are trying to achieve.

answered 03 Mar '14, 11:00

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

Source code available on GitHub .