[postgis-tickets] [PostGIS] #3031: "POINT EMPTY" as WKB defaults to "MULTIPOINT EMPTY" when restoring with copy and failing validation

PostGIS trac at osgeo.org
Sat Feb 7 22:31:07 PST 2015


#3031: "POINT EMPTY" as WKB defaults to "MULTIPOINT EMPTY" when restoring with
copy and failing validation
--------------------------------------------+-------------------------------
 Reporter:  jeanchristophesaville           |       Owner:  pramsey      
     Type:  defect                          |      Status:  new          
 Priority:  medium                          |   Milestone:  PostGIS 2.1.6
Component:  postgis                         |     Version:  2.1.x        
 Keywords:  POINT EMPTY , MULTIPOINT EMPTY  |  
--------------------------------------------+-------------------------------

Comment(by robe):

 It's complicated :). As I recall it being explained to me - its a mismatch
 between the canonical and the internal representation.  Since backup uses
 the canonical, canonical doesn't know how to represent POINT EMPTY so
 restore comes back as MULTIPOINT EMPTY.

 pramsey can explain better why this limitation.  I can't honestly remember
 why it was so complicated to get the canonical right.  This is a known
 issue but I guess few have stumbled on the issue with restore which makes
 this a bit more serious.

 I thought we had this in our ticket system somewhere as an open issue, but
 I can't find it.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3031#comment:2>
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-tickets mailing list