[Tile-serving] [openstreetmap/osm2pgsql] Gazetteer: move main tag filtering into processing function (#1018)
Sarah Hoffmann
notifications at github.com
Thu Dec 5 20:34:34 UTC 2019
Filtering of main tags (i.e. handling of named-only tags or fallback tags) must happen before the actual output because the filtered list is already needed when computing the list of classes to keep. Currently the function that creates the class list does its own filtering and is inconsistent with what the output function does.
Also fixes use of new_line().
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1018
-- Commit Summary --
* tests: simplify tests for gazetteer
* gazetteer: move main tag filtering into processing function
* tests: add test for updates of gazetteer output
* gazetteer: further simplify copy_out() function
* gazetteer: fix key for domain names
-- File Changes --
M src/gazetteer-style.cpp (344)
M src/gazetteer-style.hpp (27)
M src/output-gazetteer.cpp (21)
M src/output-gazetteer.hpp (2)
M tests/common-import.hpp (9)
M tests/test-output-gazetteer.cpp (264)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1018.patch
https://github.com/openstreetmap/osm2pgsql/pull/1018.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/1018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191205/7489841b/attachment.html>
More information about the Tile-serving
mailing list