bjornharrtell/jsts — Issue #73: Additional union testcases
Author: johanhasselstrom
Created: 2011-11-09 16:28:28+00:00
State: open

By request of a client I was asked to verify that some specific union- operations works.

1. Two polygons that overlaps
2. Two polygons that overlaps, with a hole in each polygon that does not intersect with the other polygon.
3. Two polygons that overlaps, one with a hole that is completely covered by the other polygon.
4. Two polygons that overlaps, one with a hole that i partly covered by the other polygon.
5. Two polygons, that does not overlap, but only touches.
6. Two polygons, one that entirely covers the other.
7. Two polygons, that does not overlap, but touches on two edges, creating a hole in the resulting polygon
8. Two polygons, not intersecting resulting in a multipolygon
9. Two polygons, one with a hole, the other one completely fills the hole but does not overlap, only touches.
10. Two polygons, one with a hole, the other one partly fills the hole and only touches the first one.

I realize that some of these testcases may already be covered by the validation-suite but they are hard to distinguish because of the, in some cases, complex polygons.