[Tile-serving] [openstreetmap/osm2pgsql] Add find_by_name() utility function (PR #1821)

Jochen Topf notifications at github.com
Thu Nov 10 10:43:53 UTC 2022


This finds an item by name in some kind of container. The only requirement on the item is that it has a `name()` method.

We will need this function in more places in the future, so makes sense to factor this out.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add find_by_name() utility function

-- File Changes --

    M src/flex-table-column.cpp (21)
    M src/output-flex.cpp (6)
    M src/util.hpp (26)
    M tests/test-util.cpp (30)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1821 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221110/0aa1a91e/attachment.htm>


More information about the Tile-serving mailing list