[Tile-serving] [openstreetmap/osm2pgsql] Add stream output functions for geometry types for debugging (PR #1781)

Jochen Topf notifications at github.com
Wed Sep 28 15:20:59 UTC 2022


Output is to something very similar to WKT (results might be a bit different for corner cases like empty linestrings etc.) This is only to be used for debugging. When tests fail the Catch framework will now output the geometries properly.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add stream output functions for geometry types for debugging

-- File Changes --

    A src/geom-output.hpp (110)
    M tests/CMakeLists.txt (1)
    M tests/test-geom-collections.cpp (1)
    M tests/test-geom-linestrings.cpp (1)
    M tests/test-geom-multilinestrings.cpp (1)
    M tests/test-geom-multipoints.cpp (1)
    M tests/test-geom-multipolygons.cpp (1)
    M tests/test-geom-null.cpp (1)
    A tests/test-geom-output.cpp (141)
    M tests/test-geom-points.cpp (1)
    M tests/test-geom-polygons.cpp (1)
    M tests/test-geom-transform.cpp (1)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1781 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220928/73c1f781/attachment-0001.htm>


More information about the Tile-serving mailing list