2023-01-11 19:25:36 -07:00
|
|
|
# OSM Map Dumper
|
|
|
|
|
|
|
|
|
|
A simple container which initializes planetary data, imports an Open Street Map PBF file, then dumps the Postgresql
|
2023-01-12 14:52:29 -07:00
|
|
|
database contents. Contents are dumped to stdout using `pg_dump`, suitable for `pg_restore`.
|
2023-01-11 19:25:36 -07:00
|
|
|
|
2023-01-12 14:52:29 -07:00
|
|
|
Warning: Typically adds 2GB of planetary data.
|
2023-01-11 20:36:19 -07:00
|
|
|
|
2023-01-12 14:52:29 -07:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
Import `map.osm.pbf`, dump to `output.dump`
|
2023-01-11 20:36:19 -07:00
|
|
|
|
2023-01-12 14:52:29 -07:00
|
|
|
`# docker run --rm -v /absolute/path/to/your/map.osm.pbf:/data/region.osm.pbf $(docker build -q .) > output.dump.gz`
|
2023-01-11 20:36:19 -07:00
|
|
|
|
|
|
|
|
See: https://hub.docker.com/r/lrnselfreliance/osm-map-dumper
|