[Tile-serving] [openstreetmap/osm2pgsql] Extend gazetteer tests to ways and relations (#1042)

Sarah Hoffmann notifications at github.com
Sat Dec 28 12:34:56 UTC 2019


Parametrize gazetteer tests so that not only nodes are imported but also ways and relations. Geometries are created at random. For relations a simple tetragon from a single way is used.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * tests: refactor gazetteer tests for testing other OSM types
  * test: extend gazetteer tests to ways
  * test: further generalize import func in gazetteer
  * tests: add tests for relations for gazetteer
  * tests: make gazetteer object count a generic function
  * tests: add a generic test class for gazetteer

-- File Changes --

    M tests/test-output-gazetteer.cpp (541)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1042.patch
https://github.com/openstreetmap/osm2pgsql/pull/1042.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/1042
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20191228/fd0eab26/attachment.html>


More information about the Tile-serving mailing list