mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 23:46:18 -05:00
Updating osm-map-dumper Readme with better instructions.
This commit is contained in:
parent
90e7d826c8
commit
12c3504291
1 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue