[Tile-serving] [openstreetmap/osm2pgsql] osm2pgsql refuses to run in append mode if -C / --cache isn't specified (#1362)

Simon Poole notifications at github.com
Tue Dec 8 09:18:03 UTC 2020


Example:
`/usr/local/bin/osm2pgsql \
  -a -d gis --slim --hstore \
  --number-processes 6 --flat-nodes /nvme/osm2pgsql/node.cache  \
  -e 15-16  -o /var/local/replication/tile_expiry \
  changes.osc.gz`

will fail with

`2020-12-08 09:33:02  osm2pgsql version 1.4.0 (1.4.0)
2020-12-08 09:33:02  ERROR: Usage error. For further information call: osm2pgsql --help
`
Adding `-C 500` will allow it to run.

As there is already a default cache value, the requirement to add this argument seems to be wrong.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1362
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201208/868b2c26/attachment.htm>


More information about the Tile-serving mailing list