Hi Robert,

I've been doing some polygon cutting with lines that crosses them in PostGIS:

SELECT (ST_Dump(ST_Difference(poly, ST_Buffer(mlines, 0.0001)))).geom ....

Not python at all, but might help you get into some direction.

Hope it helps,
 
Manel Clos 


-----Mensaje original-----
De: community-boun...@lists.gispython.org 
[mailto:community-boun...@lists.gispython.org] En nombre de Robert Sanson
Enviado el: miƩrcoles, 02 de abril de 2014 2:44
Para: gispython.org community projects
Asunto: [Community] Code for splitting a line with another line

Hi

Does anyone have some Python code for splitting an input line with another 
intersecting cut line into two separate lines?

Many thanks,

Robert Sanson



This email and any attachments are confidential and intended solely for the 
addressee(s). If you are not the intended recipient, please notify us 
immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted 
Security.
www.websense.com
_______________________________________________
Community mailing list
Community@lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community
_______________________________________________
Community mailing list
Community@lists.gispython.org
http://lists.gispython.org/mailman/listinfo/community

Reply via email to