From daaff561cb37f1af52a09205c7bde927c2c037fd Mon Sep 17 00:00:00 2001 From: Manuel Roth Date: Fri, 16 Oct 2015 11:47:54 +0200 Subject: [PATCH] Add description to readme and set import dir to local import --- README.md | 6 ++++++ docker-compose.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e409ba6..ab5bdc3 100644 --- a/README.md +++ b/README.md @@ -59,3 +59,9 @@ The import container will automatically download a PBF of Zurich for testing. ``` docker-compose run imposm3 ``` + +Import SHP files from the local `import` directory. Or if there is now shapefile available the container will automatically download the water polygons shapefile from [OpenStreetMapData.com](http://openstreetmapdata.com/) + +``` +docker-compose run importwater +``` diff --git a/docker-compose.yml b/docker-compose.yml index 6bede4d..cf306ff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,7 +32,7 @@ imposm3: importwater: build: ./database/importwater volumes: - - /Users/manuel/water:/data/import + - ./import:/data/import links: - postgis:db environment: