Closed dr-jts closed 1 month ago
The ConcaveHullOfPolygons class does not handle MultiPolygons with shells nested inside holes. It produces an error in this situation: Unable to find shell join index with interior join line.
ConcaveHullOfPolygons
Unable to find shell join index with interior join line
MULTIPOLYGON (((1 9, 9 9, 9 1, 1 1, 1 9), (2 8, 8 8, 8 2, 2 2, 2 8)), ((3 3, 4 7, 7 4, 3 3)))
This is because the code to create the "frame" does not check for shells inside holes, and thus does not remove them.
The fix is to remove polygon elements which lie inside another element shell.
Originally reported as https://trac.osgeo.org/postgis/ticket/5665.
The
ConcaveHullOfPolygons
class does not handle MultiPolygons with shells nested inside holes. It produces an error in this situation:Unable to find shell join index with interior join line
.Example
Analysis
This is because the code to create the "frame" does not check for shells inside holes, and thus does not remove them.
The fix is to remove polygon elements which lie inside another element shell.
Originally reported as https://trac.osgeo.org/postgis/ticket/5665.