
Jeff Hoppe - 2011-02-24 22:49:52
I believe I have found either a bug or a limitation of the polygon library when two intersecting polygons are combined using the OR functionality ($poly->intersect($poly1, "A|B").
If you can imagine two polygons: one is a blocky, "C" shaped polygon... the other is a rectangle just to the right of this polygon, slightly overlapping the ends of the "C" shape polygon such that a hole is created from the resulting intersected "OR" polygon shape.
The shape that is returned from the function is the hole itself, rather than a larger polygon with a hole in the middle.
Anyone else seen this?