[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0beta2-3-g2d342e6c6

git at osgeo.org git at osgeo.org
Mon Jul 18 09:31:20 PDT 2022


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 "PostGIS".

The branch, master has been updated
       via  2d342e6c6a0ee3d7c807dcb1b0284e1363bef698 (commit)
      from  5cc346ae8019da12ccd6162a3b9022a9600a3167 (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 2d342e6c6a0ee3d7c807dcb1b0284e1363bef698
Author: Loïc Bartoletti <loic.bartoletti at oslandia.com>
Date:   Mon Jul 18 15:52:22 2022 +0200

    Fixed Overlay: fix test
    Closes https://git.osgeo.org/gitea/postgis/postgis/pulls/103
    
    There is a copy/paste error in the test suite.
    
    "SymDifference" test is basically the same as difference one.
    
    This MR fixes the test case and the expected result.

diff --git a/regress/core/fixedoverlay.sql b/regress/core/fixedoverlay.sql
index 0953d3e44..45d3b8979 100644
--- a/regress/core/fixedoverlay.sql
+++ b/regress/core/fixedoverlay.sql
@@ -8,7 +8,7 @@ SELECT 'difference', ST_AsText(ST_Difference(
 	'LINESTRING(7 0, 13.2 0)'::geometry,
 2));
 
-SELECT 'symdifference', ST_AsText(ST_Difference(
+SELECT 'symdifference', ST_AsText(ST_SymDifference(
 	'LINESTRING(0 0, 9 0)'::geometry,
 	'LINESTRING(7 0, 13.2 0)'::geometry,
 2));
diff --git a/regress/core/fixedoverlay_expected b/regress/core/fixedoverlay_expected
index 6f2eb7639..4f03bb27b 100644
--- a/regress/core/fixedoverlay_expected
+++ b/regress/core/fixedoverlay_expected
@@ -1,6 +1,6 @@
 intersection|LINESTRING(8 0,10 0)
 difference|LINESTRING(0 0,8 0)
-symdifference|LINESTRING(0 0,8 0)
+symdifference|MULTILINESTRING((0 0,8 0),(10 0,14 0))
 union|MULTILINESTRING((0 0,8 0),(8 0,10 0),(10 0,14 0))
 unaryunion|MULTILINESTRING((0 0,8 0),(8 0,10 0),(10 0,14 0))
 subdivide|3|MULTIPOLYGON(((0 0,0 10,10 10,10 6,100 5,10 5,10 0,0 0)),((100 0,100 5,100 10,110 10,110 0,100 0)))

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

Summary of changes:
 regress/core/fixedoverlay.sql      | 2 +-
 regress/core/fixedoverlay_expected | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list