[postgis-users] Splitting linestring into line segments

Rainer Spittel rainer.spittel at terralink.co.nz
Wed Mar 5 12:36:19 PST 2008


Hello,
 
  I like to split a linestring geometry with several points into a
number of 2 point line segments. I want to use those line segments to
measure the length of each individual side of a polygon/linestring.
 
  Before writing a function which iterate through each point in the
input linestring and create a set of 2 point lines, is there a better
way of archiving the same result?
 
Cheers
Rainer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080306/0b00a47d/attachment.html>


More information about the postgis-users mailing list