[postgis-users] Number of vertices in a polygon
strk
strk at keybit.net
Wed Dec 3 06:54:29 PST 2003
npoints(the_geom);
--strk;
nri wrote:
> Hello all,
>
> Is there a simple way to get the total number of vertices in a Polygon
> with an SQL query ? (something like numpoints(the_geom), where the_geom
> would be a polygon column)
>
> The "summary(geometry)" function is handy, but one must parse its result
> in order to build the total number of vertices.
>
> Thanx
> Nicolas Ribot
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list