Skip to content

Files

Latest commit

5c4fe71 · Aug 14, 2019

History

History
21 lines (17 loc) · 945 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 945 Bytes

Import Water from OpenStreetMapData into PostGIS

Docker Automated build

This is a Docker image to import and simplify water 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" \
    openmaptiles/import-water

Version of OpenStreetMapData

2019-08-05