[geos-commits] r3326 - trunk/tests/xmltester/tests/ticket

svn_geos at osgeo.org svn_geos at osgeo.org
Fri May 6 04:57:15 EDT 2011


Author: strk
Date: 2011-05-06 01:57:15 -0700 (Fri, 06 May 2011)
New Revision: 3326

Modified:
   trunk/tests/xmltester/tests/ticket/bug350.xml
Log:
Modify test for bug350 so to use pre-snapped geometries. Shows that the problem is not in snapping code, but after that (ie: JTS succeeds at fist shot on this new input)

Modified: trunk/tests/xmltester/tests/ticket/bug350.xml
===================================================================
--- trunk/tests/xmltester/tests/ticket/bug350.xml	2011-05-04 17:45:05 UTC (rev 3325)
+++ trunk/tests/xmltester/tests/ticket/bug350.xml	2011-05-06 08:57:15 UTC (rev 3326)
@@ -4,26 +4,21 @@
 <case>
   <desc>
 http://trac.osgeo.org/geos/ticket/350
-TopologyException: found non-noded intersection between LINESTRING (-322379 830.734, -336712 -2708) and LINESTRING (-332496 -1667.09, -322379 830.734) at -332496 -1667.09
+This version of the test contains the snapped version of the geometries.
   </desc>
   <a>
-01060000000100000001030000000100000007000000000000005C3613C1000000000028A54000000000208D14C1000000000028A5C000000000A83F15C100000000C0A6D040981124BD63B414C1B82DC4EB7C969940CA5EE746E76814C120462E0E5B4A8A40323BFF843F4B14C1C77B5B2D590C9AC0000000005C3613C1000000000028A540
+00000000030000000100000007C0E9B2E00000000040A5280000000000C0F2348000000000C0A5280000000000C0F4FEA00000000040D0A6C000000000C0F2D18EF49046604099967CEBC42DB8C0F1A39D1B9D7B28408A4A5B0E2E4620C0F12CFE13FCECC8C09A0C592D5B7BC7C0E9B2E00000000040A5280000000000
   </a>
   <b>
-01060000000100000001030000000100000005000000EF2CF4FC0ED315C1F4792E801F82B6C0477F50A83BA313C12242DCE0BE81B2C0203301B73FCE13C14FB2744AB1EBD24029062D840ECE15C161DDB50E8D6BD140EF2CF4FC0ED315C1F4792E801F82B6C0
+00000000030000000100000005C0F74C3BF3D0B3BCC0B6821F802E79F4C0ED19DD4283FA38C0B281BEE0DC4222C0EE71FDB809990040D2EBB14A74B24FC0F7383A10B418A440D16B8D0EB5DD61C0F74C3BF3D0B3BCC0B6821F802E79F4
   </b>
+<test> <op name="isvalid" arg1="A">true </op> </test>
+<test> <op name="isvalid" arg1="B">true </op> </test>
 <test>
  <op name="union" arg1="A" arg2="B">
-POLYGON ((-314775 2708, -322378.6881546058 830.7344192302963, -321742.91436957236 -4737.74561859717, -357571.7470252057 -5762.123049645208, -357251.62907800317 17838.204022852125, -324495.928715514 19374.77016942418, -322378.6881546058 830.7344192302967, -314775 2708))
+POLYGON ((-52631 2708, -60234.68815460579 830.7344192302963, -59598.91436957236 -4737.74561859717, -95427.7470252057 -5762.123049645208, -95107.62907800317 17838.204022852125, -62351.92871551402 19374.77016942418, -60234.68815460579 830.7344192302967, -52631 2708))
  </op>
 </test>
-
-<test>
- <op name="difference" arg1="A" arg2="B">
-POLYGON ((-314775 2708, -322378.6881546058 830.7344192302963, -322378.6881546058 830.7344192302967, -314775 2708))
- </op>
-</test>
-
 </case>
 
 </run>



More information about the geos-commits mailing list