Equivalent to ST_NPoints() in PostGIS.
You can view, comment on, or merge this pull request online at:

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2477

-- Commit Summary --

  * Add n_points() member function to all geometry types
  * Make n_points function for geometries available in Lua

-- File Changes --

    M src/flex-lua-geom.cpp (14)
    M src/geom.cpp (19)
    M src/geom.hpp (28)
    M tests/bdd/flex/geometry-linestring.feature (10)
    M tests/test-geom-collections.cpp (5)
    M tests/test-geom-linestrings.cpp (1)
    M tests/test-geom-multilinestrings.cpp (5)
    M tests/test-geom-multipoints.cpp (3)
    M tests/test-geom-multipolygons.cpp (4)
    M tests/test-geom-null.cpp (1)
    M tests/test-geom-points.cpp (1)
    M tests/test-geom-polygons.cpp (3)

-- Patch Links --

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to