From 67a1bf2ded33a6e488178ee3cf5746904235d7ae Mon Sep 17 00:00:00 2001 From: Alexander Overvoorde Date: Wed, 23 May 2018 22:29:15 +0200 Subject: [PATCH] Clarify that custom .OSM.PBF file path needs to be absolute --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ef586e..97618f2 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ First create a Docker volume to hold the PostgreSQL database that will contain t Next, download an .osm.pbf extract from geofabrik.de for the region that you're interested in. You can then start importing it into PostgreSQL by running a container and mounting the file as `/data.osm.pbf`. For example: - docker run -v luxembourg.osm.pbf:/data.osm.pbf -v openstreetmap-data:/var/lib/postgresql/10/main overv/openstreetmap-tile-server import + docker run -v /absolute/path/to/luxembourg.osm.pbf:/data.osm.pbf -v openstreetmap-data:/var/lib/postgresql/10/main overv/openstreetmap-tile-server import If the container exits without errors, then your data has been successfully imported and you are now ready to run the tile server. @@ -51,4 +51,4 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -``` \ No newline at end of file +```