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

PostGIS trac at osgeo.org
Fri Dec 18 07:09:50 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):

 Further, topology contains 4-vertices edge, a 2-vertices line fails to be
 inserted:
 {{{
 SELECT DropTopology('bug3402');
 SELECT CreateTopology('bug3402');
 SELECT TopoGeo_addLinestring('bug3402',
 '0102000000040000001F85EB1117273941F6285CEFAC9652411F85EB5119283941F6285CEF2D9652411F85EB5128283941F6285CCF2C9652411F85EBD160273941000000E0DA965241'
 , 0);

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

 Both vertices of the line being inserted are on a segment of the existing
 edge, near one of its vertices (but no closer than computed tolerance).

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