#1102: GEOSNearestPoints: returns mixed dimensions from 3D inputs ------------------------+-------------------------- Reporter: Mike Taves | Owner: geos-devel@… Type: defect | Status: new Priority: minor | Milestone: 3.10.0 Component: Default | Version: master Severity: Unassigned | Keywords: ------------------------+-------------------------- See https://github.com/Toblerity/Shapely/pull/1006#issuecomment-787537048 for background
GEOSNearestPoints with GEOS <=3.9 returns only 2D geometries, regardless of inputs. The current GEOS development snapshot may return mixed dimensions with 3D inputs. For instance, a PointZ and LineStringZ returns a PointZ and 2D Point object for nearest locations. Is the expected result to maintain 2D-only geometries (i.e. GEOS<=3.9 behaviour)? Or should it be improved to interpolate the Z coordinate from the LineStringZ object? Another case to consider is the nearest points between two PointZ objects. The current result is two PointZ objects. -- Ticket URL: <https://trac.osgeo.org/geos/ticket/1102> GEOS <http://trac.osgeo.org/geos> GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel