[postgis-devel] [PostGIS] #937: Regression: can't dump POLYGON with EMPTY shell

PostGIS trac at osgeo.org
Thu May 12 13:46:04 PDT 2011


#937: Regression: can't dump POLYGON with EMPTY shell
-----------------------+----------------------------------------------------
  Reporter:  strk      |       Owner:  strk         
      Type:  defect    |      Status:  closed       
  Priority:  critical  |   Milestone:  PostGIS 2.0.0
 Component:  postgis   |     Version:  trunk        
Resolution:  fixed     |    Keywords:               
-----------------------+----------------------------------------------------

Comment(by pramsey):

 Rather than adding another semantic for EMPTY WKB polygons, can we morph
 this case into the "standard" WKB representation for that case, namely, a
 polygon with a ring count of zero and nothing else? (Would do this by
 having this case return "true" in the lwgeom_is_empty() function).
 Incidentally, does the wkb_in code handle the one-empty-ring case
 correctly (construct an empty polygon?)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/937#comment:7>
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