From 937993c6cf04a308158ac3652877e7658fe419f9 Mon Sep 17 00:00:00 2001 From: Eva Jelinkova Date: Fri, 17 May 2019 10:23:30 +0200 Subject: [PATCH] Update URL openstreetmapdata and version of data (#6) --- Dockerfile | 4 +++- README.md | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b0dad4d..de520c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 0908971..8a8cde7 100644 --- a/README.md +++ b/README.md @@ -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 @@ -18,4 +18,4 @@ docker run --rm \ openmaptiles/import-water ``` ## Version of OpenStreetMapData -**2019-02-21** +**2019-05-13**