Opened 6 years ago
Closed 4 years ago
#789 closed defect (fixed)
Difference of valid geometries is invalid [JTS fixed]
|Reported by:||mattzen||Owned by:||strk|
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.
Change History (10)
by , 6 years ago
comment:1 by , 6 years ago
|Milestone:||3.5.1 → 3.5.2|
Ticket retargeted after milestone closed
follow-up: 4 comment:2 by , 6 years ago
See also #838
comment:3 by , 5 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 , 5 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|
comment:7 by , 4 years ago
comment:8 by , 4 years ago
comment:9 by , 4 years ago
|Status:||new → closed|
A test case creating two input polygons and attempting to difference them.