[geos-devel] [GEOS] #1048: WKB representation of POINT EMPTY has 3 dimensions

GEOS geos-trac at osgeo.org
Wed Oct 28 14:26:12 PDT 2020


#1048: WKB representation of POINT EMPTY has 3 dimensions
------------------------+---------------------------
 Reporter:  Mike Taves  |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:
Component:  Default     |     Version:  master
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by pramsey):

 In general the WKT reader and default creators try to create things with
 3d coordinates, which is counter to my own sense of "least surprise".
 Directly relating to this ticket, the EMPTY case in WKT reader fails to
 note the presence of any dimensionality tags in the input (POINT Z EMPTY)
 and just creates a 3d empty every time. Looks like most types will need to
 be touched to put this completely right.

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1048#comment:3>
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