[postgis-users] how many vertices in a linestring

Marco Lechner - FOSSGIS e.V. marco.lechner at fossgis.de
Fri Nov 20 07:41:29 PST 2009


is there a function that returns the number of points of a geometry?

LINESTRING(9.6567389 47.8442843,9.6572511 47.8443736,9.6570058
47.8449885,9.6565007 47.8449207,9.6567378 47.8442853) => 5
LINESTRING(8.9289313 48.6910326,8.9289313 48.6910326) => 2
...

Marco



More information about the postgis-users mailing list