strk at keybit.net
Wed Jul 23 07:28:18 PDT 2014
On Wed, Jul 23, 2014 at 12:17:47PM +0200, Rémi Cura wrote:
> Looking at the C code it seems that the split(polygon, line) case is dealed
> with by unioning the boundary of polygon and line with geos, then
> polygonizing with geos, then returning face that are not in polygon holes.
> Any reason it couldn't work with split(multi-polygon, multi-line) ?
I don't see any reason.
> I wrote a plpgsql wrapper to allow this but it is very slow because it
> successively split the input polygon with each part of multi_line.
A patch for doing that in C is welcome.
With regress tests, valgrind-clean unit tests and updated documentation :)
More information about the postgis-devel