2

Ref to this: http://forum.openseamap.org/viewtopic.php?id=2060 and this: How to extract primary and secondary roads from OSM data? and this: http://wiki.openstreetmap.org/wiki/Seamarks/Seamark_Objects

I need to import all seamarks from my OSM planet data to my PostgreSQL OSM database, but I can't find the "seamark:type=*" tag in osm2pgsql default.style file.

Can someone show me an example line to write into default style (or osmosis parameter) to import this kind of data to PostgreSQL?

Magno C
  • 2,140
  • 3
  • 24
  • 63

1 Answers1

1

Found it:

osmosis --read-pbf south-america-latest.osm.pbf --tag-filter accept-nodes seamark:type=* --write-xml seamarks.osm
Magno C
  • 2,140
  • 3
  • 24
  • 63