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

Jochen Topf notifications at github.com
Wed Feb 8 13:58:20 UTC 2023


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

See individual commits.

This is the (changed) rest of what was originally in #1902.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add and use expire_config_t struct
  * Rename expire_tiles::from_line() to from_line_segment()

-- File Changes --

    A src/expire-config.hpp (41)
    M src/expire-tiles.cpp (111)
    M src/expire-tiles.hpp (56)
    M src/flex-write.cpp (12)
    M src/flex-write.hpp (5)
    M src/output-flex.cpp (21)
    M src/output-flex.hpp (2)
    M src/output-pgsql.cpp (27)
    M src/output-pgsql.hpp (1)
    M tests/test-expire-from-geometry.cpp (117)
    M tests/test-expire-tiles.cpp (81)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1908 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230208/2adce106/attachment.htm>


More information about the Tile-serving mailing list