[Tile-serving] [openstreetmap/osm2pgsql] Refactor middle interface to get relation members (#1472)

Jochen Topf notifications at github.com
Fri Apr 30 07:34:52 UTC 2021


In the future we want the middle to be able to return not only way
members of relations but any type of member. This renames the
function rel_way_members_get() to rel_members_get() and adds an extra
parameter that specifies which types of members we are interested
in. The ram middle already supports accessing non-way members, but
the pgsql middle still only supports way members.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor middle interface to get relation members

-- File Changes --

    M src/middle-pgsql.cpp (8)
    M src/middle-pgsql.hpp (5)
    M src/middle-ram.cpp (11)
    M src/middle-ram.hpp (6)
    M src/middle.hpp (12)
    M src/output-flex.cpp (3)
    M src/output-gazetteer.cpp (3)
    M src/output-pgsql.cpp (3)
    M tests/test-middle.cpp (5)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1472.patch
https://github.com/openstreetmap/osm2pgsql/pull/1472.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/1472
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210430/536d6795/attachment.htm>


More information about the Tile-serving mailing list