Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 636 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 636 Bytes

Import Land from OpenStreetMapData into PostGIS

This is a Docker image to import and simplify land polygons from OpenStreetMapData using shp2pgsql into a PostGIS database. The Shapefiles are already baked into the container to make distribution and execution easier.

Usage

Provide the database credentials and run import-water.

docker run --rm \
    -e POSTGRES_USER="osm" \
    -e POSTGRES_PASSWORD="osm" \
    -e POSTGRES_HOST="127.0.0.1" \
    -e POSTGRES_DB="osm" \
    -e POSTGRES_PORT="5432" \
    mapcreatorio/import-land

Version of OpenStreetMapData

2019-08-05