Fix path to roads_import.lua in docs

This commit is contained in:
Paul Bienkowski 2022-02-11 10:59:51 +01:00
parent 15aaf06168
commit b66784f1ed
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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