[postgis-users] how many vertices in a linestring

Maxime van Noppen maxime at altribe.org
Fri Nov 20 08:07:18 PST 2009


Marco Lechner - FOSSGIS e.V. wrote:
> exactly. thnx. by the way: what's the difference between st_numpoints()
> and st_npoints()? The results in my case are the same

>From the doc of ST_NumPoints :

« From 1.4 forward this is an alias for ST_NPoints which returns number
of vertexes for not just line strings. Consider using ST_NPoints instead
which is multi-purpose and works with many geometry types. »

-- 
Maxime



More information about the postgis-users mailing list