[postgis-users] Geometry operation: split polygon using a linestring

strk strk at keybit.net
Thu Jun 10 03:59:18 PDT 2010


On Wed, Jun 09, 2010 at 12:13:48PM -0700, Mike Toews wrote:
> Hi all,
> 
> I'm trying to do something in PostGIS or JTS Builder, and I can't figure it out.
> 
> I'd like to split a polygon into either two polygons or a multipolygon
> using a linestring that crosses the polygon.
> 
> Any pointers? Thanks.

Postgis trunk does have a ST_Split(polygon, line) function.
Tests welcome :)

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list