[Tile-serving] [openstreetmap/osm2pgsql] Various changes in preparation for flexible expiry config (PR #1902)

Jochen Topf notifications at github.com
Mon Feb 6 10:54:05 UTC 2023


These are some changes in preparation for more flexible expiry config that can be configured from Lua.

See individual commits.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1902

-- Commit Summary --

  * Add and use expire_config_t struct
  * Refactor output_tiles_to_file() function
  * Rename expire_tiles::from_line() to from_line_segment()
  * Rename for_each_tile() parameter from tiles to tiles_at_maxzoom

-- File Changes --

    A src/expire-config.hpp (34)
    M src/expire-tiles.cpp (122)
    M src/expire-tiles.hpp (79)
    M src/flex-write.cpp (12)
    M src/flex-write.hpp (5)
    M src/output-flex.cpp (23)
    M src/output-flex.hpp (2)
    M src/output-pgsql.cpp (30)
    M src/output-pgsql.hpp (1)
    M tests/test-expire-from-geometry.cpp (114)
    M tests/test-expire-tiles.cpp (81)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1902.patch
https://github.com/openstreetmap/osm2pgsql/pull/1902.diff

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

Message ID: <openstreetmap/osm2pgsql/pull/1902 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230206/15201bee/attachment.htm>


More information about the Tile-serving mailing list