[Tile-serving] [openstreetmap/osm2pgsql] Add centroid() implementation for geometry collection (PR #1776)

Jochen Topf notifications at github.com
Sat Sep 24 13:42:17 UTC 2022


You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add dimension() function for geometry types
  * Add support for centroid() on geometry collections

-- File Changes --

    M src/geom-functions.cpp (46)
    M src/geom.cpp (17)
    M src/geom.hpp (22)
    M tests/test-geom-collections.cpp (34)
    M tests/test-geom-linestrings.cpp (2)
    M tests/test-geom-multilinestrings.cpp (3)
    M tests/test-geom-multipoints.cpp (1)
    M tests/test-geom-multipolygons.cpp (3)
    M tests/test-geom-null.cpp (1)
    M tests/test-geom-points.cpp (1)
    M tests/test-geom-polygons.cpp (4)

-- Patch Links --

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

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

Message ID: <openstreetmap/osm2pgsql/pull/1776 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220924/3ed7722f/attachment-0001.htm>


More information about the Tile-serving mailing list