From b66784f1edb30d037012b702efaa8fa6dc717e1f Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Fri, 11 Feb 2022 10:59:51 +0100 Subject: [PATCH] Fix path to roads_import.lua in docs --- README.md | 4 ++-- roads_import.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c5e62dc..fd4618c 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ to import the whole region you are serving. * Import each file like this: ```bash - osm2pgsql --create --hstore --style api/roads_import.lua -O flex \ + osm2pgsql --create --hstore --style roads_import.lua -O flex \ -H localhost -d obs -U obs \ path/to/downloaded/myarea-latest.osm.pbf ``` @@ -200,7 +200,7 @@ bit different each time, including when first importing, and the disk space required is much higher. Refer to the documentation of `osm2pgsql` for assistance. We are using "flex -mode", the provided script `api/roads_import.lua` describes the transformations +mode", the provided script `roads_import.lua` describes the transformations and extractions to perform on the original data. ## Troubleshooting diff --git a/roads_import.lua b/roads_import.lua index d024392..c314d50 100644 --- a/roads_import.lua +++ b/roads_import.lua @@ -6,7 +6,7 @@ -- 2. Convert and filter to your needs -- 3. Run the import like this: -- --- osm2pgsql --create --hstore --style api/roads_import.lua -O flex \ +-- osm2pgsql --create --hstore --style roads_import.lua -O flex \ -- --proj 32629 -H localhost -d obs -U obs -W \ -- YOUR_FILE.o5m