[Tile-serving] [osm2pgsql-dev/osm2pgsql] Allow a limit to be set on expiry of line segments (PR #2185)

Jochen Topf notifications at github.com
Sun Jun 16 08:44:48 UTC 2024


@simonpoole Something like this would be easily possible when the flex output is used. It allows you to get the linestring length in Lua and then you can do any check you want and simply call `os.exit(1)` and osm2pgsql is killed.

Of course this would mean switching OSM Carto to flex, but fortunately we are getting near that. There is an [issue](https://github.com/gravitystorm/openstreetmap-carto/issues/4977) and [PR](https://github.com/gravitystorm/openstreetmap-carto/pull/4978).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2185#issuecomment-2171266274
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2185/c2171266274 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240616/10f51b20/attachment.htm>


More information about the Tile-serving mailing list