[postgis-users] LINESTRING segmentation

Sandro Santilli strk at keybit.net
Thu Mar 15 01:45:11 PDT 2012


On Thu, Mar 15, 2012 at 09:43:47AM +0100, Ed Linde wrote:
> Hi All,
> Can someone show me how I can take an arbitrary linestring in postgis, and
> segment this into finer linestrings that are "x" meters in length each?
> Well so that the last segment left is from [0,x] meters long.

ST_Segmentize

--strk;

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'




More information about the postgis-users mailing list