3

I followed a tutorial to install a PostgreSQL server on my Mac OS X Mavericks, and to import some OSM data with the osm2pgsql converter (https://www.mapbox.com/tilemill/docs/guides/osm-bright-mac-quickstart/).

I used OSM data in the .osm.pbf format for the import. That works fine.

Is it possible to use the formats .osm and .osm.bz2 as well? And maybe other formats? Do I then need to add certain options to the osm2pgsql command, depending on the chosen format?

I intend to import only small amounts of data into the database, mainly for visualizing purposes in TileMill.

1 Answer 1

3

it can read .gz, .bz2, .pbf and .o5m files directly

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.