[postgis-devel] [PostGIS] #746: ST_Dump with GSerialized POINT EMPTY does not match expected size

PostGIS trac at osgeo.org
Fri Dec 31 10:40:17 PST 2010


#746: ST_Dump with GSerialized POINT EMPTY does not match expected size
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 You might know about this one already since I recall you saying you were
 having issues with dump.

 SELECT ST_Dump(ST_GeomFromText('POINT EMPTY',4326))

 On non-gserialized returns empty record set as I would expect.

 On gserialized gives error:
 ERROR:  WKB structure does not match expected size!

 I wonder if this is related to the fact that I can't get a POINT EMPTY
 back EVER - this is the case with both gserialized and non-gserialized
 installs.

 SELECT ST_AsEWKT(ST_GeomFromEWKT('POINT EMPTY'));

 Gives:
 MULTIPOINT EMPTY

 A little bizarre if you's ask me.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/746>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list