[SCM] PostGIS branch master updated. 3.4.0rc1-1078-gebad0ba10

git at osgeo.org git at osgeo.org
Sat Mar 30 02:06:17 PDT 2024


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
  discards  72152195d252e989db9d9d802c3ee9a285917d80 (commit)
       via  ebad0ba104f6dbe0b381e42ae079375043189dbf (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (72152195d252e989db9d9d802c3ee9a285917d80)
            \
             N -- N -- N (ebad0ba104f6dbe0b381e42ae079375043189dbf)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 ebad0ba104f6dbe0b381e42ae079375043189dbf
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Mar 30 04:08:19 2024 -0400

    Fix regression issue on 32-bit
    and arm failures
    References #5704 for PostGIS 3.5.0

diff --git a/regress/core/geography_centroid.sql b/regress/core/geography_centroid.sql
index c8930d43b..31626466a 100644
--- a/regress/core/geography_centroid.sql
+++ b/regress/core/geography_centroid.sql
@@ -7,7 +7,7 @@ SELECT c, ST_Centroid(g::geography) FROM
 ) AS u(c, g);
 
 -- check for IDL crossing
-SELECT c, ST_Centroid(g::geography) FROM
+SELECT c, ST_AsText(ST_Centroid(g::geography),8) FROM
 ( VALUES
     ('geog_centroid_mpt_idl_1', 'MULTIPOINT ( 179 0, -179 0)'),
     ('geog_centroid_mpt_idl_2', 'MULTIPOINT ( 178 0, -179 0)'),
diff --git a/regress/core/geography_centroid_expected b/regress/core/geography_centroid_expected
index 270eced12..786075433 100644
--- a/regress/core/geography_centroid_expected
+++ b/regress/core/geography_centroid_expected
@@ -1,8 +1,8 @@
 geog_centroid_mpt_pole_north|0101000020E610000000000000000000000000000000805640
 geog_centroid_mpt_pole_south|0101000020E6100000000000000000000000000000008056C0
-geog_centroid_mpt_idl_1|0101000020E610000000000000008066400000000000000000
-geog_centroid_mpt_idl_2|0101000020E610000000000000007066400000000000000000
-geog_centroid_mpt_idl_3|0101000020E610000000000000007066C00000000000000000
+geog_centroid_mpt_idl_1|POINT(180 0)
+geog_centroid_mpt_idl_2|POINT(179.5 0)
+geog_centroid_mpt_idl_3|POINT(-179.5 0)
 geog_centroid_pt_self_1|0101000020E610000000000000000010400000000000002040
 geog_centroid_pt_self_2|0101000020E61000000000000000002EC00000000000003040
 geog_centroid_pt_self_3|0101000020E610000000000000000037C000000000000045C0

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

Summary of changes:
 regress/core/geography_centroid.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list