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

PostGIS trac at osgeo.org
Fri Mar 30 07:44:31 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):

 Ok, the IntersectionMatrix was a false alarm, it's normal to have no
 boundary intersection for geometries w/out boundaries (due to
 Mod2BoundaryNodeRule), so back to the SymDifference bug: given two valid
 inputs, it raises the exception.

 What I was after is the fact that such input is coming from Polygonize
 (called by BuildArea)
 so should be pretty much all fully noded. In particular Polygonize returns
 3 polygons: one is the outer shell with 2 tiny holes, and the other 2 are
 the tiny holes on themselves.

 I've noticed that the outer shell with holes is considered invalid (self
 intersection) but the exterior ring itself is valid!

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