[postgis-devel] [PostGIS] #1719: Do not throw an exception on unsupported ST_MakeValid input (was: Add Point support in ST_MakeValid)

PostGIS trac at osgeo.org
Mon Mar 26 10:35:59 PDT 2012


#1719: Do not throw an exception on unsupported ST_MakeValid input
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 Can't confirm the empty case:

 {{{
 strk=# select ST_AsEWKT(ST_MakeValid('POLYGON EMPTY'));
    st_asewkt
 ---------------
  POLYGON EMPTY
 (1 row)
 }}}

 But GEOMETRYCOLLECTION is a problem !

 {{{
 trk=# select ST_AsEWKT(ST_MakeValid('GEOMETRYCOLLECTION EMPTY'));
 ERROR:  ST_MakeValid: unsupported geometry type GeometryCollection
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1719#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-devel mailing list