[Tile-serving] [openstreetmap/osm2pgsql] Various refactorings of expire code (PR #1802)

Jochen Topf notifications at github.com
Sat Oct 29 13:53:22 UTC 2022


To prepare for coming changes.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor of expire code: Move tile writing code out of expire_tiles
  * New quadkey_t class to capture the quad key concept
  * Remove osm_id param from expire_tiles::from_geometry/result
  * Make expire_tiles::from_result a free function

-- File Changes --

    M src/expire-tiles.cpp (97)
    M src/expire-tiles.hpp (176)
    M src/output-flex.cpp (20)
    M src/output-pgsql.cpp (51)
    M src/output-pgsql.hpp (2)
    A src/tile-output.hpp (25)
    M src/tile.cpp (12)
    M src/tile.hpp (54)
    M tests/test-expire-tiles.cpp (215)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1802 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221029/37cea873/attachment.htm>


More information about the Tile-serving mailing list