[Tile-serving] [openstreetmap/osm2pgsql] Refactor of expire code (PR #1651)

Jochen Topf notifications at github.com
Mon Mar 7 09:46:43 UTC 2022


Various refactorings to clean up the expire code. See individual commits.

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor expire code: Some cleanups
  * Fix: Do not call clear() on moved from dirty list
  * Remove unused m_tile_width member of the expire_tiles class
  * Refactore expire_tiles::coords_to_tile function
  * Various cleanups in tile expire code
  * Consolidate definitions of earth circumference etc.

-- File Changes --

    M src/expire-tiles.cpp (158)
    M src/expire-tiles.hpp (34)
    M src/tile.hpp (27)
    M tests/test-expire-tiles.cpp (78)
    M tests/test-tile.cpp (25)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1651 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220307/12fb2cc6/attachment.htm>


More information about the Tile-serving mailing list