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

PostGIS trac at osgeo.org
Fri Nov 27 01:33:46 PST 2015


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

Comment (by strk):

 Further reduction of the case, 3 lines of 3 vertices each:
 {{{
   SELECT DropTopology( 'shp_error' );
   SELECT CreateTopology( 'shp_error', 0, 0.01);

   SELECT TopoGeo_AddLinestring('shp_error', '
   LINESTRING(
   1612829.90652844007126987 4841274.48807844985276461,
   1612830.1566380700096488 4841287.23833953030407429,
   1612883.15799825009889901 4841277.73794914968311787)
   ', 0);

    SELECT TopoGeo_AddLinestring('shp_error', '
   LINESTRING(
   1612790.88055733009241521 4841286.88526585046201944,
   1612830.15823523001745343 4841287.12674008030444384,
   1612829.98813172010704875 4841274.56198261026293039)
   ', 0);

   SELECT TopoGeo_AddLinestring('shp_error', '
    LINESTRING(
   1612830.15823523 4841287.12674008,
   1612881.64990281 4841274.56198261,
   1612883.09421571 4841223.09636279)
   ', 0);
 }}}

 The third line has an endpointi incident to node 8 in the figure above

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