[geos-devel] [GEOS] #1079: Inconsistent dimensionality change

GEOS geos-trac at osgeo.org
Mon Nov 30 14:52:11 PST 2020


#1079: Inconsistent dimensionality change
------------------------+---------------------------
 Reporter:  Mike Taves  |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  minor       |   Milestone:  3.9.0
Component:  Default     |     Version:  master
 Severity:  Annoyance   |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by pramsey):

 It seems inconsistent all around, to me. What is the consistent rule
 supposed to be? My guess would have been "preserve the dimensionality of
 the first coordinate)" but this test belies that:
 {{{
     ('MULTIPOINT (1 1, 2 2 2)', 'MULTIPOINT Z (1 1 0, 2 2 2)'),
 }}}
 I suppose not changing behaviour is the highest good, I hate to see that
 version switch there when we haven't got consistent behaviour. I guess
 it's too late to be as strict as the PostGIS parser (dimensional mixing ==
 error).

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1079#comment:1>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list