wrolpi/docker/osm-map-dumper
2023-01-16 19:34:07 -07:00
..
Dockerfile Adding Readme to osm-map-dumper. 2023-01-11 19:25:36 -07:00
README.md Using pi-gen to create wrolpi raspberry image. 2023-01-16 11:05:27 -07:00
run.sh Not dumping comments. 2023-01-16 19:34:07 -07:00

OSM Map Dumper

A simple container which initializes planetary data, imports an Open Street Map PBF file, then dumps the Postgresql database contents. Contents are dumped to stdout using pg_dump, suitable for pg_restore.

Warning: Typically adds 2GB of planetary data.

Usage

Import map.osm.pbf, dump to output.dump

# docker run --rm -v /absolute/path/to/your/map.osm.pbf:/data/region.osm.pbf $(docker build -q .) > output.dump.gz

See: https://hub.docker.com/r/lrnselfreliance/osm-map-dumper