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

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


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

Modified:
   trunk/tests/xmltester/tests/ticket/bug350.xml
Log:
Re-add also the original data in test for bug350, so nothing gets lost.

Modified: trunk/tests/xmltester/tests/ticket/bug350.xml
===================================================================
--- trunk/tests/xmltester/tests/ticket/bug350.xml	2011-05-06 08:57:22 UTC (rev 3327)
+++ trunk/tests/xmltester/tests/ticket/bug350.xml	2011-05-06 08:57:33 UTC (rev 3328)
@@ -1,19 +1,45 @@
 <run>
+  <desc>http://trac.osgeo.org/geos/ticket/350</desc>
   <precisionModel type="FLOATING" />
 
 <case>
   <desc>
 http://trac.osgeo.org/geos/ticket/350
-This version of the test contains the snapped version of the geometries.
+Original data, fails at noding after snapping
   </desc>
   <a>
+01060000000100000001030000000100000007000000000000005C3613C1000000000028A54000000000208D14C1000000000028A5C000000000A83F15C100000000C0A6D040981124BD63B414C1B82DC4EB7C969940CA5EE746E76814C120462E0E5B4A8A40323BFF843F4B14C1C77B5B2D590C9AC0000000005C3613C1000000000028A540
+  </a>
+  <b>
+01060000000100000001030000000100000005000000EF2CF4FC0ED315C1F4792E801F82B6C0477F50A83BA313C12242DCE0BE81B2C0203301B73FCE13C14FB2744AB1EBD24029062D840ECE15C161DDB50E8D6BD140EF2CF4FC0ED315C1F4792E801F82B6C0
+  </b>
+
+<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))
+ </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>
+
+<case>
+  <desc>
+http://trac.osgeo.org/geos/ticket/350
+Pre-snapped version of the data.
+  </desc>
+  <a>
 00000000030000000100000007C0E9B2E00000000040A5280000000000C0F2348000000000C0A5280000000000C0F4FEA00000000040D0A6C000000000C0F2D18EF49046604099967CEBC42DB8C0F1A39D1B9D7B28408A4A5B0E2E4620C0F12CFE13FCECC8C09A0C592D5B7BC7C0E9B2E00000000040A5280000000000
   </a>
   <b>
 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 ((-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))



More information about the geos-commits mailing list