Stefan Steiniger wrote: >> >> Not yet, unfortunately. But I think uDig has something for this, and >> OpenJUMP might do as well. > >yep. OpenJUMP has a tool that splits polygons - but it does not >recognize holes
Just as a remark: The OpenJUMP tool does not check the input on meaningfulness - and as a consequence it might return invalid geometries. For example try splitting the following geometries: POLYGON((0 0,10 0,5 7,0 0)) LINESTRING(0 4,5 4) To solve this issue (as well as some including holes) the plugin has to assure two things: 1. the linestring intersects each ring of the polygon an even number of times. 2. if the linestring intersects an interior ring, then it has to intersect the exterior ring. I'm not sure if this covers all issues, but it is a first step :-) Matthias _______________________________________________ jts-devel mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jts-devel
