[postgis-devel] [PostGIS] #408: Catch "Exception in LWGEOM2GEOS" in ST_IsValid

PostGIS trac at osgeo.org
Fri Feb 5 08:23:43 PST 2010


#408: Catch "Exception in LWGEOM2GEOS" in ST_IsValid
--------------------------+-------------------------------------------------
  Reporter:  ddegasperi   |       Owner:  pramsey
      Type:  enhancement  |      Status:  new    
  Priority:  medium       |   Milestone:         
 Component:  postgis      |     Version:  1.4.X  
Resolution:               |    Keywords:         
--------------------------+-------------------------------------------------
Comment (by kneufeld):

 Replying to [comment:4 strk]:
 > Oh well, I guess if the problem occurs they user must have put the
 goemetry in the database somehow (maybe not trough the parser).
 > It'd still be worth handling that validity case from ST_IsValid, we can
 postpone parser work :)

 Yes, I concur.  Once a geometry is in the system, a user could modify it
 beyond recognition (st_removepoint, etc).  ST_IsValid then should return a
 boolean, catching all errors appropriately.

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