[Tile-serving] [openstreetmap/osm2pgsql] Refactor middle (#1371)

Jochen Topf notifications at github.com
Mon Dec 14 15:25:55 UTC 2020


Various refactorings of the middle, removing the slim_middle_t class etc.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor of middle: Remove slim middle class and change middle API
  * Move the middle factory function into its own cpp file
  * Refactor middle: Replace analyze and flush methods
  * Use new analyze_table() function in other places, too
  * Remove commit() function on middle
  * Call after_node/way/relation functions on osmdata in any case

-- File Changes --

    M src/CMakeLists.txt (1)
    M src/flex-table.cpp (2)
    M src/input.cpp (51)
    M src/middle-pgsql.cpp (75)
    M src/middle-pgsql.hpp (28)
    M src/middle-ram.cpp (9)
    M src/middle-ram.hpp (11)
    A src/middle.cpp (15)
    M src/middle.hpp (85)
    M src/osm2pgsql.cpp (12)
    M src/osmdata.cpp (74)
    M src/osmdata.hpp (5)
    M src/pgsql-helper.cpp (7)
    M src/pgsql-helper.hpp (5)
    M src/table.cpp (2)
    M tests/test-middle.cpp (294)
    M tests/test-parse-osmium.cpp (97)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1371
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201214/643bc9eb/attachment.htm>


More information about the Tile-serving mailing list