[geos-commits] [SCM] GEOS branch master updated. 17361b79cb15cc454c3f7934584a5a06b3bd5ba2
git at osgeo.org
git at osgeo.org
Mon Nov 26 14:56:24 PST 2018
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, master has been updated
via 17361b79cb15cc454c3f7934584a5a06b3bd5ba2 (commit)
from c3edeee872465ffdea54e32ddb23b316bb61cddb (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 17361b79cb15cc454c3f7934584a5a06b3bd5ba2
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Nov 26 14:55:38 2018 -0800
Add TestFunctionAA.xml new tests from JTS
diff --git a/tests/xmltester/tests/general/TestFunctionAA.xml b/tests/xmltester/tests/general/TestFunctionAA.xml
index d0d713a..ef006bd 100644
--- a/tests/xmltester/tests/general/TestFunctionAA.xml
+++ b/tests/xmltester/tests/general/TestFunctionAA.xml
@@ -630,4 +630,34 @@
</test>
</case>
+<case>
+ <desc>AA - Polygons which stress hole assignment</desc>
+ <a>
+POLYGON ((0 0, 4 0, 4 4, 0 4, 0 0), (1 1, 1 2, 2 1, 1 1), (1 2, 1 3, 2 3, 1 2), (2 3, 3 3, 3 2, 2 3))
+ </a>
+ <b>
+POLYGON ((2 1, 3 1, 3 2, 2 1))
+ </b>
+<test>
+ <op name="intersection" arg1="A" arg2="B">
+POLYGON ((3 2, 3 1, 2 1, 3 2))
+ </op>
+</test>
+<test>
+ <op name="union" arg1="A" arg2="B">
+POLYGON ((0 0, 0 4, 4 4, 4 0, 0 0), (1 2, 1 1, 2 1, 1 2), (1 2, 2 3, 1 3, 1 2), (2 3, 3 2, 3 3, 2 3))
+ </op>
+</test>
+<test>
+ <op name="difference" arg1="A" arg2="B">
+MULTIPOLYGON (((0 0, 0 4, 4 4, 4 0, 0 0), (1 2, 1 1, 2 1, 3 1, 3 2, 3 3, 2 3, 1 3, 1 2)), ((2 1, 1 2, 2 3, 3 2, 2 1)))
+ </op>
+</test>
+<test>
+ <op name="symdifference" arg1="A" arg2="B">
+MULTIPOLYGON (((0 0, 0 4, 4 4, 4 0, 0 0), (1 2, 1 1, 2 1, 3 1, 3 2, 3 3, 2 3, 1 3, 1 2)), ((2 1, 1 2, 2 3, 3 2, 2 1)))
+ </op>
+</test>
+</case>
+
</run>
-----------------------------------------------------------------------
Summary of changes:
tests/xmltester/tests/general/TestFunctionAA.xml | 30 ++++++++++++++++++++++++
1 file changed, 30 insertions(+)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list