[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add max_tiles_per_run setting for tile generalizers (PR #2450)

Jochen Topf notifications at github.com
Sat Jan 31 16:48:04 UTC 2026


Limits the number of tiles for which the generalizer is run. Used when generalization is too expensive to always run for all expired tiles. There is a good chance that later changes in the data affect the same tile again, so in the long run this saves effort.

Tiles are generalized oldest first when this is used. Don't set `max_tiles_per_run` or set to 0 to run generalization for all tiles
in the expire table for that zoom level.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2450

-- Commit Summary --

  * Fix: Delete to be expired tiles at the same time as reading them
  * Add max_tiles_per_run setting for tile generalizers

-- File Changes --

    M src/gen/osm2pgsql-gen.cpp (32)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2450.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2450.diff

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2450 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20260131/3a39984b/attachment.htm>


More information about the Tile-serving mailing list