[postgis-users] 2D linestring or multilinestring

Sandro Santilli strk at keybit.net
Thu Jun 21 02:47:43 PDT 2012


On Thu, Jun 21, 2012 at 11:03:27AM +0200, Ed Linde wrote:
> Also is there an easy way to count the total number of points that are in a
> linestring? Cannot find the function to do so.

ST_NumPoints (OGC, only works with linestring), ST_npoints (postgis extension,
works with any type)

--strk;

 Sent from our free software
 http://www.gnu.org/philosophy/free-sw.html



More information about the postgis-users mailing list