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

Nicklas Avén nicklas.aven at jordogskog.no
Thu Jun 10 07:02:21 PDT 2010


The new ST_Split function can also be tested at postgisonline.org.

If you add version=trunk to the web address you get a database with postgis 2.0 as it looks in the trunk.

I have used the ST_Split function to show the functionality. It is not yet in the documentation of the site how to get the trunk version but there is a very small tutorial here:

http://postgisonline.org/map.php?tutorial=trunk.html&version=trunk

/Nicklas


2010-06-10 strk  wrote:

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
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100610/bf81b4f8/attachment.html>


More information about the postgis-users mailing list