From 6e19411314aaaa833507b722aa6cb3d76bbc923f Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Wed, 1 Dec 2021 19:21:10 +0100 Subject: [PATCH] Fix README note about running osm2pgsql multiple times and link to docs for commandline arguments --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8845f4f..c5e62dc 100644 --- a/README.md +++ b/README.md @@ -194,8 +194,10 @@ size. A whole country might even take one or more hours. You should probably not try to import `planet.osm.pbf`. You can run the process multiple times, with the same or different area files, -to import or update the data. You can also truncate the `road` table before -importing if you want to remove outdated road information. +to import or update the data. However, for this to work, the actual [command +line arguments](https://osm2pgsql.org/doc/manual.html#running-osm2pgsql) are a +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