[postgis-tickets] [PostGIS] #3402: geometry crosses edges with 0 tolerance

PostGIS trac at osgeo.org
Fri Dec 18 08:13:55 PST 2015


#3402: geometry crosses edges with 0 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):

 Smaller case: existing 3-vertices edge, adding 3-vertices line:
 {{{
 SELECT DropTopology('bug3402');
 SELECT CreateTopology('bug3402');
 SELECT TopoGeo_addLinestring('bug3402',
 '010200000003000000C1AABC2B192739418E7DE0E6AB9652411F85EB5119283941F6285CEF2D9652411F85EB5128283941F6285CCF2C965241'
 , 0);

 SELECT TopoGeo_addLinestring('bug3402',
 '010200000003000000BCAABC2B192739418F7DE0E6AB96524185EB51382828394115AE47D12C96524187EB51382828394115AE47D12C965241'
 , 0);
 }}}

 Removing the second vertex in the geometry being added does indeed fix the
 problem.

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