[geos-commits] [SCM] GEOS branch main updated. cb0550a181a2beb4c44ff0f6eabb2b91ae15da1c

git at osgeo.org git at osgeo.org
Thu Nov 9 13:25:18 PST 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, main has been updated
       via  cb0550a181a2beb4c44ff0f6eabb2b91ae15da1c (commit)
      from  f883f95f5eb14fab1c9c7936ea45de38afd1b111 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cb0550a181a2beb4c44ff0f6eabb2b91ae15da1c
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Thu Nov 9 13:24:59 2023 -0800

    Add TestRelatePA predicate tests

diff --git a/tests/xmltester/tests/general/TestRelatePA.xml b/tests/xmltester/tests/general/TestRelatePA.xml
index b186de01b..642d682b7 100644
--- a/tests/xmltester/tests/general/TestRelatePA.xml
+++ b/tests/xmltester/tests/general/TestRelatePA.xml
@@ -15,6 +15,16 @@
     true
   </op>
 </test>
+<test><op name="contains"   arg1="A" arg2="B"> false </op></test>
+<test><op name="coveredBy"  arg1="A" arg2="B"> false </op></test>
+<test><op name="covers"     arg1="A" arg2="B"> false </op></test>
+<test><op name="crosses"    arg1="A" arg2="B"> false </op></test>
+<test><op name="disjoint"   arg1="A" arg2="B"> true  </op></test>
+<test><op name="equalsTopo" arg1="A" arg2="B"> false </op></test>
+<test><op name="intersects" arg1="A" arg2="B"> false </op></test>
+<test><op name="overlaps"   arg1="A" arg2="B"> false </op></test>
+<test><op name="touches"    arg1="A" arg2="B"> false </op></test>
+<test><op name="within"     arg1="A" arg2="B"> false </op></test>
 </case>
 
 <case>
@@ -31,6 +41,16 @@
     true
   </op>
 </test>
+<test><op name="contains"   arg1="A" arg2="B"> false </op></test>
+<test><op name="coveredBy"  arg1="A" arg2="B"> false </op></test>
+<test><op name="covers"     arg1="A" arg2="B"> false </op></test>
+<test><op name="crosses"    arg1="A" arg2="B"> true  </op></test>
+<test><op name="disjoint"   arg1="A" arg2="B"> false </op></test>
+<test><op name="equalsTopo" arg1="A" arg2="B"> false </op></test>
+<test><op name="intersects" arg1="A" arg2="B"> true  </op></test>
+<test><op name="overlaps"   arg1="A" arg2="B"> false </op></test>
+<test><op name="touches"    arg1="A" arg2="B"> false </op></test>
+<test><op name="within"     arg1="A" arg2="B"> false </op></test>
 </case>
 
 <case>
@@ -39,14 +59,23 @@
     MULTIPOINT((0 20), (20 20))
   </a>
   <b>
-    POLYGON(
-      (20 40, 20 0, 60 0, 60 40, 20 40))
+    POLYGON((20 40, 20 0, 60 0, 60 40, 20 40))
   </b>
 <test>
   <op name="relate" arg3="F00FFF212" arg1="A" arg2="B">
     true
   </op>
 </test>
+<test><op name="contains"   arg1="A" arg2="B"> false </op></test>
+<test><op name="coveredBy"  arg1="A" arg2="B"> false </op></test>
+<test><op name="covers"     arg1="A" arg2="B"> false </op></test>
+<test><op name="crosses"    arg1="A" arg2="B"> false </op></test>
+<test><op name="disjoint"   arg1="A" arg2="B"> false </op></test>
+<test><op name="equalsTopo" arg1="A" arg2="B"> false </op></test>
+<test><op name="intersects" arg1="A" arg2="B"> true  </op></test>
+<test><op name="overlaps"   arg1="A" arg2="B"> false </op></test>
+<test><op name="touches"    arg1="A" arg2="B"> true  </op></test>
+<test><op name="within"     arg1="A" arg2="B"> false </op></test>
 </case>
 
 <case>
@@ -55,14 +84,23 @@
     MULTIPOINT((20 20), (40 20))
   </a>
   <b>
-    POLYGON(
-      (20 40, 20 0, 60 0, 60 40, 20 40))
+    POLYGON((20 40, 20 0, 60 0, 60 40, 20 40))
   </b>
 <test>
   <op name="relate" arg3="00FFFF212" arg1="A" arg2="B">
     true
   </op>
 </test>
+<test><op name="contains"   arg1="A" arg2="B"> false </op></test>
+<test><op name="coveredBy"  arg1="A" arg2="B"> true  </op></test>
+<test><op name="covers"     arg1="A" arg2="B"> false </op></test>
+<test><op name="crosses"    arg1="A" arg2="B"> false </op></test>
+<test><op name="disjoint"   arg1="A" arg2="B"> false </op></test>
+<test><op name="equalsTopo" arg1="A" arg2="B"> false </op></test>
+<test><op name="intersects" arg1="A" arg2="B"> true  </op></test>
+<test><op name="overlaps"   arg1="A" arg2="B"> false </op></test>
+<test><op name="touches"    arg1="A" arg2="B"> false </op></test>
+<test><op name="within"     arg1="A" arg2="B"> true  </op></test>
 </case>
 
 <case>
@@ -71,14 +109,23 @@
     MULTIPOINT((80 260), (140 260), (180 260))
   </a>
   <b>
-    POLYGON(
-      (40 320, 140 320, 140 200, 40 200, 40 320))
+    POLYGON((40 320, 140 320, 140 200, 40 200, 40 320))
   </b>
 <test>
   <op name="relate" arg3="000FFF212" arg1="A" arg2="B">
     true
   </op>
 </test>
+<test><op name="contains"   arg1="A" arg2="B"> false </op></test>
+<test><op name="coveredBy"  arg1="A" arg2="B"> false </op></test>
+<test><op name="covers"     arg1="A" arg2="B"> false </op></test>
+<test><op name="crosses"    arg1="A" arg2="B"> true  </op></test>
+<test><op name="disjoint"   arg1="A" arg2="B"> false </op></test>
+<test><op name="equalsTopo" arg1="A" arg2="B"> false </op></test>
+<test><op name="intersects" arg1="A" arg2="B"> true  </op></test>
+<test><op name="overlaps"   arg1="A" arg2="B"> false </op></test>
+<test><op name="touches"    arg1="A" arg2="B"> false </op></test>
+<test><op name="within"     arg1="A" arg2="B"> false </op></test>
 </case>
 
 <case>
@@ -98,10 +145,20 @@
     true
   </op>
 </test>
+<test><op name="contains"   arg1="A" arg2="B"> false </op></test>
+<test><op name="coveredBy"  arg1="A" arg2="B"> true  </op></test>
+<test><op name="covers"     arg1="A" arg2="B"> false </op></test>
+<test><op name="crosses"    arg1="A" arg2="B"> false </op></test>
+<test><op name="disjoint"   arg1="A" arg2="B"> false </op></test>
+<test><op name="equalsTopo" arg1="A" arg2="B"> false </op></test>
+<test><op name="intersects" arg1="A" arg2="B"> true  </op></test>
+<test><op name="overlaps"   arg1="A" arg2="B"> false </op></test>
+<test><op name="touches"    arg1="A" arg2="B"> true  </op></test>
+<test><op name="within"     arg1="A" arg2="B"> false </op></test>
 </case>
 
 <case>
-  <desc>mPA - empty Point element</desc>
+  <desc>mPA - empty MultiPoint element</desc>
   <a>
     MULTIPOINT(EMPTY,(0 0))
   </a>

-----------------------------------------------------------------------

Summary of changes:
 tests/xmltester/tests/general/TestRelatePA.xml | 71 +++++++++++++++++++++++---
 1 file changed, 64 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list