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

PostGIS trac at osgeo.org
Thu Feb 4 13:05:57 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 pramsey):

 Non possible.

 The '':text entry first gets passed into the text parsing routines which
 is where the failure actually occurs, not in st_isvalid. We have had
 internal arguments many times about where validity checking should occur,
 and the current situation is that trivially invalid geometries (1-point
 lines, unclosed polygons) are failed during parsing.

 IMO, they shouldn't fail, but that's a personal opinion, not a consensus
 one.

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