Sign inSign up

jawg/imposm3

By jawg

•Updated over 8 years ago

Import OSM into PostGIS

Image
0

10K+

jawg/imposm3 repository overview

⁠What is Imposm 3 ?

Imposm is an importer for OpenStreetMap data. It reads PBF files and imports the data into PostgreSQL/PostGIS. It can also automatically update the database with the latest changes from OSM.

It is designed to create databases that are optimized for rendering (i.e. generating tiles or for WMS services).

⁠Usage

docker run  --rm \
-v $(pwd)/cache:/tmp/imposm3 \
-v $(pwd)/planet-latest.osm.pbf:/opt/imposm3/planet-latest.osm.pbf \
-v $(pwd)/mapping.json:/opt/imposm3/mapping.json \
jawgmaps/imposm3 import \
-mapping mapping.json \
-read planet-latest.osm.pbf \
-overwritecache -write -connection 'postgis://gis:gis@{postgis-address}/gis'

Tag summary

Content type

Image

Digest

Size

34.6 MB

Last updated

over 8 years ago

docker pull jawg/imposm3