Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
/ import-water Public archive

Import water from OpenStreetMapData into PostGIS

License

Notifications You must be signed in to change notification settings

openmaptiles/import-water

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!! OBSOLETE !!!

This repo has been archived. Use openmaptiles-tools/docker/import-water instead.


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-10-28