[Tile-serving] [osm2pgsql-dev/osm2pgsql] Append mode with non-existing flat node file should fail (Issue #2315)

Frederik Ramm notifications at github.com
Tue Apr 8 10:05:35 UTC 2025


woodpeck created an issue (osm2pgsql-dev/osm2pgsql#2315)

Running osm2pgsql in `--append` mode with `--flat-nodes` should fail if the flat node file does not already exist. 

Current behaviour (v2.1) is to show a message "Using the flat node file you specified on the command line (...) instead of the one used on import (...)". But I cannot think of any use case where you would want to run an append with a non-existing flat node file; in fact it will silently drop geometries from your database that cannot be rebuilt due to missing node coordinates.

The expected behaviour would be aborting with a message like "refusing to create new flat node file in append mode".

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/issues/2315
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/issues/2315 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250408/8c832747/attachment-0001.htm>


More information about the Tile-serving mailing list