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

GEOS geos-trac at osgeo.org
Sun Aug 30 14:22:42 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 Mike Taves):

 Another related inconsistency `GEOMETRYCOLLECTION (POINT(1 2), POINT
 EMPTY)` returns
 `0107000080020000000101000000000000000000F03F00000000000000400101000080000000000000F87F000000000000F87F000000000000F87F`,
 which is not portable WKB. Handing this to PostGIS raises "Dimensions
 mismatch in lwcollection", because of the extra coordinate surprise.

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