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

Commit

Permalink
Update URL openstreetmapdata and version of data (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
eva-j authored and MartinMikita committed May 17, 2019
1 parent 801acb7 commit 937993c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
unzip \
sqlite3 \
ca-certificates \
&& mkdir -p $IMPORT_DATA_DIR \
&& wget --quiet http://data.openstreetmapdata.com/water-polygons-split-3857.zip \
&& wget --quiet http://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip \
&& unzip -oj water-polygons-split-3857.zip -d $IMPORT_DATA_DIR \
&& rm water-polygons-split-3857.zip \
&& apt-get -y --auto-remove purge \
wget \
unzip \
sqlite3 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/app
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Import Water from OpenStreetMapData into PostGIS
[![Docker Automated build](https://img.shields.io/docker/automated/openmaptiles/import-osm.svg?maxAge=2592000)]() [![](https://images.microbadger.com/badges/image/openmaptiles/import-osm.svg)](https://microbadger.com/images/openmaptiles/import-osm)

This is a Docker image to import and simplify water polygons from [OpenStreetMapData](http://openstreetmapdata.com/) using *shp2pgsql* into a PostGIS database.
This is a Docker image to import and simplify water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) using *shp2pgsql* into a PostGIS database.
The Shapefiles are already baked into the container to make distribution and execution easier.

## Usage
Expand All @@ -18,4 +18,4 @@ docker run --rm \
openmaptiles/import-water
```
## Version of OpenStreetMapData
**2019-02-21**
**2019-05-13**

0 comments on commit 937993c

Please sign in to comment.