[postgis-devel] [PostGIS] #1641: SQL/MM Spatial exception - geometry crosses an edge

PostGIS trac at osgeo.org
Thu Mar 1 02:55:17 PST 2012


#1641: SQL/MM Spatial exception - geometry crosses an edge
----------------------+-----------------------------------------------------
 Reporter:  lrssvt    |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by lrssvt):

 Yes, passing a tolerance to toTopoGeom works:

 {{{
 UPDATE test.poly SET topogeom = toTopoGeom(geom, 'poly_topo', 1, 0.1)
 WHERE gid=2;
 UPDATE test.poly SET topogeom = toTopoGeom(geom, 'poly_topo', 1, 0.1)
 WHERE gid=3;
 }}}

 How do I determine the correct tolerance?
 Must I necessarily pass it in the function toTopoGeom?

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