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

PostGIS trac at osgeo.org
Thu Nov 26 23:56:41 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
 Keywords:            |
----------------------+---------------------------
 Testcase:

 {{{
 select DropTopology( 'shp_error' );
 select CreateTopology( 'shp_error', 0, 0.01);

 SELECT TopoGeo_AddLinestring('shp_error', '
  LINESTRING(1612923.15898333 4841265.48754979,1612938.15932297
 4841257.23732472,1612951.65966041 4841253.73720287,1612933.90893005
 4841222.98663562,1612915.65821091 4841195.23613226,1612910.65803504
 4841190.23604794,1612893.65770428 4841206.23644001,1612881.65747637
 4841218.23673119,1612871.65727827 4841227.23695322,1612855.65694177
 4841239.23725902,1612844.65670832 4841247.23746406,1612823.40617483
 4841252.48765035,1612825.90631516 4841261.48782605,1612829.90652844
 4841274.48807845,1612830.15663807 4841287.23833953,1612883.15799825
 4841277.73794915,1612923.15898333 4841265.48754979)
 ', 0);

 SELECT TopoGeo_AddLinestring('shp_error', '
  LINESTRING(1612790.88055733 4841286.88526585,1612830.15823523
 4841287.12674008,1612829.98813172 4841274.56198261,1612826.01679126
 4841261.50572401,1612823.53033342 4841252.38787263,1612807.19309221
 4841256.37344151,1612788.76059031 4841262.00356428,1612790.88055733
 4841286.88526585)
 ', 0);

 SELECT TopoGeo_AddLinestring('shp_error', '
  LINESTRING(1612830.15823523 4841287.12674008,1612883.09421571
 4841277.62169028,1612923.13572292 4841265.39870628,1612938.06588219
 4841257.24952328,1612951.63833096 4841253.85588049,1612934.02487406
 4841223.09636279,1612915.65151363 4841195.23693069,1612910.65009963
 4841190.23760515,1612893.64932937 4841206.23701923,1612881.64990281
 4841218.23650212,1612871.64932278 4841227.23779269,1612855.64995596
 4841239.23728901,1612844.64993299 4841247.23905436,1612823.53033342
 4841252.38787263,1612826.01679126 4841261.50572401,1612829.98813172
 4841274.56198261,1612830.15823523 4841287.12674008)
 ', 0);

 }}}

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