[postgis-tickets] [SCM] PostGIS branch stable-2.3 updated. 18b19fe0c3570f3dd28e843901cb2ee6784ec5b9

git at osgeo.org git at osgeo.org
Sun May 31 11:05:42 PDT 2020


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, stable-2.3 has been updated
       via  18b19fe0c3570f3dd28e843901cb2ee6784ec5b9 (commit)
      from  a0e6518f56fa5afc1c321a2a5dc863b962c09257 (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 18b19fe0c3570f3dd28e843901cb2ee6784ec5b9
Author: Regina Obe <lr at pcorp.us>
Date:   Sun May 31 14:05:37 2020 -0400

    Another one this one varies based on sfcgal version, make always return same answer of 0 0

diff --git a/regress/regress_sfcgal.sql b/regress/regress_sfcgal.sql
index bd64b38..a6292bb 100644
--- a/regress/regress_sfcgal.sql
+++ b/regress/regress_sfcgal.sql
@@ -32,10 +32,10 @@ SELECT 'ST_StraightSkeleton', ST_AsText(ST_StraightSkeleton('POLYGON((1 1,2 1,2
 
 -- Backend switch tests
 SET postgis.backend = 'geos';
-SELECT 'intersection_geos', ST_astext(ST_intersection('LINESTRING(0 10, 0 -10)', 'LINESTRING(0 0, 1 1)'));
+SELECT 'intersection_geos', ST_astext(ST_intersection('LINESTRING(0 10, 0 -10)', 'POINT(0 0)'));
 
 SET postgis.backend = 'sfcgal';
-SELECT 'intersection_sfcgal', ST_astext(ST_intersection('LINESTRING(0 10, 0 -10)', 'LINESTRING(0 0, 1 1)'));
+SELECT 'intersection_sfcgal', ST_astext(ST_intersection('LINESTRING(0 10, 0 0, 0 -10)', 'POINT(0 0)'));
 
 SET postgis.backend = 'foo';
 SET postgis.backend = '';
diff --git a/regress/regress_sfcgal_expected b/regress/regress_sfcgal_expected
index bf04917..d2427b5 100644
--- a/regress/regress_sfcgal_expected
+++ b/regress/regress_sfcgal_expected
@@ -10,6 +10,6 @@ ST_Orientation_2|1
 ST_MinkowskiSum|MULTIPOLYGON(((0 0,1 0,5 0,5 1,4 1,0 1,0 0)))
 ST_StraightSkeleton|MULTILINESTRING((1 1,1.5 1.5),(2 1,1.5 1.5),(2 2,1.5 1.5),(1 2,1.5 1.5))
 intersection_geos|POINT(0 0)
-intersection_sfcgal|POINT(-0 -0)
+intersection_sfcgal|POINT(0 0)
 ERROR:  Can't find foo geometry backend
 ERROR:  Can't find  geometry backend

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

Summary of changes:
 regress/regress_sfcgal.sql      | 4 ++--
 regress/regress_sfcgal_expected | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list