[SCM] PostGIS branch master updated. 3.4.0rc1-1078-g72152195d
git at osgeo.org
git at osgeo.org
Sat Mar 30 01:13:48 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
via 72152195d252e989db9d9d802c3ee9a285917d80 (commit)
from e1e3f7e143381ef5f74b4372798bcfd5f5d75898 (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 72152195d252e989db9d9d802c3ee9a285917d80
Author: Regina Obe <lr at pcorp.us>
Date: Sat Mar 30 04:08:19 2024 -0400
Fix regression issue on 32-bit
Closes #5704 for PostGIS 3.5.0
diff --git a/regress/core/geography_centroid.sql b/regress/core/geography_centroid.sql
index c8930d43b..d5cdeffcf 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),10) 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 +-
regress/core/geography_centroid_expected | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list