From 12c35042917fcf13f1ff36e0064e49b89cfaa924 Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 12 Jan 2023 14:52:29 -0700 Subject: [PATCH] Updating osm-map-dumper Readme with better instructions. --- docker/osm-map-dumper/Readme.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/osm-map-dumper/Readme.md b/docker/osm-map-dumper/Readme.md index dce8c911..693c4f3b 100644 --- a/docker/osm-map-dumper/Readme.md +++ b/docker/osm-map-dumper/Readme.md @@ -1,11 +1,14 @@ # 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 using `pg_dump` __with__ compression. +database contents. Contents are dumped to stdout using `pg_dump`, suitable for `pg_restore`. -Warning: Typically adds 1 gigabyte of (compressed) planetary data. +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