Skip to content

Import water from OpenStreetMapData into PostGIS

License

Notifications You must be signed in to change notification settings

MapcreatorIO/import-water

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Import water from OpenStreetMapData into PostGIS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 74.4%
  • Dockerfile 25.6%