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

Import Points only with osm2pgsql

0

Hi there,

I was wondering if the style configuration file of OSM2PGSQL could be configured that way that it only writes points into my PostGIS-DB? It's because I'm only interested in POIs for a specific project. If not possible with OSM2PGSQL is there any other options?

Best Regards, Carsten

asked 21 Apr '13, 09:31

hoge6b01's gravatar image

hoge6b01
56336
accept rate: 0%

(just in case you're not aware) it's worth bearing in mind that POIs in OSM may well be represented by ways rather than nodes (buildings, for example). If you really just want points, there are a few "how do I extract all the XXX in YYY questions" already with answers explaining the use of osmfilter and osmconvert, which may be useful.

(21 Apr '13, 10:47) SomeoneElse ♦

Source code available on GitHub .