[postgis-devel] [PostGIS] #1735: ST_MakeValid: exception on geometry

PostGIS trac at osgeo.org
Mon Apr 2 02:15:41 PDT 2012

#1735: ST_MakeValid: exception on geometry
 Reporter:  aperi2007  |       Owner:  strk         
     Type:  defect     |      Status:  assigned     
 Priority:  medium     |   Milestone:  PostGIS 2.0.1
Component:  postgis    |     Version:  trunk        
 Keywords:             |  

Comment(by strk):

 So back to the reason _why_ Polygonize is getting invalid input, I see
 that ST_MakeValid is trying to ensure correct input noding using a
 LWGEOM_GEOS_nodeLines function.

 Well, the return from such function doesn't pass the ST_IsSimple test,
 which is probably a good way to detect proper noding.

 LWGEOM_GEOS_nodeLines is running a GEOSUnion between the line and one of
 its endpoints. I've also tried calling GEOSUnaryUnion with no luck.

 So next issue is: GEOSUnion (and GEOSUnaryUnion) incorrectly node lines.

 Filed as http://trac.osgeo.org/geos/ticket/527

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