[SCM] PostGIS branch stable-3.3 updated. 3.3.5-6-g198ddd7ff

git at osgeo.org git at osgeo.org
Thu Nov 30 13:52:38 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 "PostGIS".

The branch, stable-3.3 has been updated
       via  198ddd7ff4de999dff946afd9d40d3cfa1bedfc9 (commit)
      from  2a866aaba30ab939de407853e25d6b741b8750ec (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 198ddd7ff4de999dff946afd9d40d3cfa1bedfc9
Author: Regina Obe <lr at pcorp.us>
Date:   Thu Nov 30 16:01:32 2023 -0500

    FIX ST_SetPoint tests
    
     - Force casing since some systems output NaN and some nan
    
     References #5610 for PostGIS 3.3.6dev

diff --git a/regress/core/setpoint.sql b/regress/core/setpoint.sql
index c6c7a0a50..bb0ae4e56 100644
--- a/regress/core/setpoint.sql
+++ b/regress/core/setpoint.sql
@@ -30,7 +30,7 @@ SELECT ST_asewkt(ST_SetPoint('LINESTRING(0 0 0 0, 1 1 1 1, 2 2 2 2, 4 4 4 4)', 0
 SELECT '#5319', ST_SetPoint('0102000020E610000005000000000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F'::geometry, 1,ST_GeomFromText('POINT(0 0)',4326)  )  As result;
 
 -- https://trac.osgeo.org/postgis/ticket/5610 (NaN check)
-SELECT '#5610', ST_AsText(ST_SetPoint(
+SELECT '#5610', lower(ST_AsText(ST_SetPoint(
 ST_Makeline(ARRAY[ST_MakePoint(1,2,'Nan'), ST_MakePoint(3,4,10), ST_MakePoint(5,6, 20)]),
-2, ST_MakePoint(5,6, 'Nan'))) AS result;
+2, ST_MakePoint(5,6, 'Nan')))) AS result;
 
diff --git a/regress/core/setpoint_expected b/regress/core/setpoint_expected
index c340c9886..5f7d103d4 100644
--- a/regress/core/setpoint_expected
+++ b/regress/core/setpoint_expected
@@ -12,4 +12,4 @@ LINESTRING(0 0 0 0,1 1 1 1,90 91 92 0,4 4 4 4)
 LINESTRING(0 0 0 0,90 91 0 92,2 2 2 2,4 4 4 4)
 LINESTRING(90 91 92 93,1 1 1 1,2 2 2 2,4 4 4 4)
 #5319|0102000020E610000005000000000000000000F07F000000000000F07F00000000000000000000000000000000000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F000000000000F07F
-#5610|LINESTRING Z (1 2 NaN,3 4 10,5 6 NaN)
+#5610|linestring z (1 2 nan,3 4 10,5 6 nan)

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list