[Tile-serving] [openstreetmap/osm2pgsql] --expire-tiles: Parameter parsing does not work (#830)

Michael Reichert notifications at github.com
Wed Mar 21 10:59:43 UTC 2018


Thank you for your bug report.

The bug described here is partially a bug and partially a missing piece of documentation.

The mentioned commit changed all zoom levels to `uint32_t`. `0` is now reserved for "invalid" zoom level (and `std::strtoul` returns 0 if no integer could be read). Having a tile expiry starting at zoom level `0` will always write `0/0/0` to the expiry list except if the diff to be imported was empty or contained only changes you are not interested in (defined by the style file and/or your Lua filters).

However, my code contained a real bug because it did not accept `-e 19`.

-- 
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/830#issuecomment-374900227
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180321/d1032ce1/attachment.html>


More information about the Tile-serving mailing list