diff --git a/src/algorithm/InteriorPointLine.cpp b/src/algorithm/InteriorPointLine.cpp index 85d6bd459b..5d791d8d27 100644 --- a/src/algorithm/InteriorPointLine.cpp +++ b/src/algorithm/InteriorPointLine.cpp @@ -65,6 +65,7 @@ InteriorPointLine::addInterior(const Geometry* geom) { const LineString* ls = dynamic_cast(geom); if (ls) { + if (ls->isEmpty()) return; addInterior(ls->getCoordinatesRO()); return; }