From 702c100125baf209e9b6d0920d280ad459949c13 Mon Sep 17 00:00:00 2001 From: mazano Date: Wed, 8 Jan 2020 11:20:12 +0200 Subject: [PATCH] Add curl in download pbf (#90) * Fix import error due to differences in geom type * fix id missing in clip table and skipping importing shapefiles with geometry errors * fix clip id error in the sql * Change postgresql version from 9.6 to 11 * Added sql to validate geometry and other make commands to run them manually * added pgwatch to docker-compose * Modified importer.py to import clip file if it exists and changed logic for finding if tables are missing * updated readme file * fix logic on first run for importing data * small changes to revert original logic * remove clip functions since they are not needed because of the limitto function * Added logic to check if the geojson should be used if it exist or not, added martin to server vector tiles from the DB * update readme * added recipe for downloading pbf,clip and mapping file from a given github repository * removed pbf which was accidentally pushed * fix volume name * Added logc to check pbf download is finished * use none standard ports * fixed import error in imposm * fix docker-compose and update descriptions * added curl in downloader --- docker-osm-pbf/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-osm-pbf/Dockerfile b/docker-osm-pbf/Dockerfile index 84d0e90..7b40c4f 100644 --- a/docker-osm-pbf/Dockerfile +++ b/docker-osm-pbf/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:latest -RUN apk --no-cache add --update bash +RUN apk --no-cache add --update bash curl ENV BASE_URL='http://download.geofabrik.de' ENV CONTINENT=''