[postgis-tickets] [PostGIS] #3380: "geometry crosses edge" with 1e-2 tolerance

PostGIS trac at osgeo.org
Fri Nov 27 00:01:58 PST 2015


#3380: "geometry crosses edge" with 1e-2 tolerance
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.1.9
 Component:  topology  |    Version:  2.1.x
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 After loading the first two geometries node do exist that are closer than
 the given tolerance.
 Nodes 3 and 8 in the following image are 0.5e-2 units apart. Node 8
 existed as a vertex of the second geometry added (formed by edges 3,5,12)
 while node 3 was created during import as the intersection between the
 second geometry and the first one (formed by edges 2 and 4).

 There was no vertex where node 3 was created, so second geometry did not
 snap there.
 If we added all intersection points first and then re-snap linework
 against these new intersections, chances are this case would be fixed (in
 other words, use computed intersection points as snap references).

 [[Image(shp_error.png​)]]

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3380#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-tickets mailing list