[Tile-serving] [openstreetmap/osm2pgsql] Revert "Fix: Create point geometry from collection with single-node way" (PR #1773)

Jochen Topf notifications at github.com
Thu Sep 22 18:48:06 UTC 2022


This reverts commit 748fc0ab5bf4d9b459f2cbab54f4523c7b09624a.

Turns out this wasn't such a good idea, see #1767 for details.

The gist of it is that we always return NULL geometry when there are problems and so this should be the case here also for consistency.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Revert "Fix: Create point geometry from collection with single-node way"

-- File Changes --

    M src/geom-from-osm.cpp (3)
    M tests/bdd/flex/geometry-collection.feature (27)
    M tests/test-geom-collections.cpp (14)

-- Patch Links --

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

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

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


More information about the Tile-serving mailing list