Opened 7 years ago
Closed 5 years ago
#789 closed defect (fixed)
Difference of valid geometries is invalid [JTS fixed]
Reported by: | mattzen | Owned by: | strk |
---|---|---|---|
Priority: | minor | Milestone: | 3.5.3 |
Component: | Core | Version: | 3.5.0 |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
I'm trying to calculate the difference of two valid geometries and getting an invalid one back. The input geometries both have integer coordinates, so I would hope that numerical precision isn't an issue. I'm not totally sure this is a bug - perhaps I've just got the wrong expectations of what should happen?
I've attached a test case, which I've tested against both 3.5.0-1ubuntu2 (on xenial) and latest master (3.6.0dev-CAPI-1.10.0 r4257) with the same results.
Attachments (1)
Change History (10)
by , 7 years ago
comment:3 by , 6 years ago
See JTS issue https://github.com/locationtech/jts/issues/255
This is likely due to a logic error in the polygon building phase of overlay.
comment:4 by , 6 years ago
comment:5 by , 5 years ago
Summary: | Difference of valid geometries is invalid → Difference of valid geometries is invalid [JTS fixed] |
---|
The upstream ticket was fixed: https://github.com/locationtech/jts/issues/255
comment:6 by , 5 years ago
Milestone: | 3.5.2 → 3.5.3 |
---|
A test case creating two input polygons and attempting to difference them.