[SCM] PostGIS branch stable-3.4 updated. 3.4.4-24-gf70044224
git at osgeo.org
git at osgeo.org
Thu May 29 01:33:35 PDT 2025
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.4 has been updated
via f700442240f65dfd04f27a3b8f9b3f8d7344e4d7 (commit)
from 174678ee8ede712938e0736d81457a5e99ff78f7 (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 f700442240f65dfd04f27a3b8f9b3f8d7344e4d7
Author: Regina Obe <lr at pcorp.us>
Date: Tue May 6 21:42:19 2025 -0400
Reduce precision so
ST_MinimumInscribedCircle agree in 3.14 and earlier geos
References #5893 for PostGIS 3.4.5
diff --git a/regress/core/geos39.sql b/regress/core/geos39.sql
index 5ffd02e7f..9d5e02553 100644
--- a/regress/core/geos39.sql
+++ b/regress/core/geos39.sql
@@ -1,8 +1,8 @@
SELECT 'mic-box' AS name,
- st_astext(center, 4) AS center,
- st_astext(nearest, 4) AS nearest,
- round(radius::numeric,4) AS radius
+ st_astext(center, 1) AS center,
+ st_astext(nearest, 1) AS nearest,
+ round(radius::numeric,1) AS radius
FROM ST_MaximumInscribedCircle('Polygon((0 0, 100 0, 99 98, 0 100, 0 0))'::geometry);
SELECT 'mic-empty' AS name,
@@ -35,7 +35,7 @@ FROM ST_MaximumInscribedCircle('POINT(0 0)'::geometry);
WITH p AS (
SELECT 'Polygon((0 0, 100 0, 99 98, 0 100, 0 0))'::geometry AS ply
)
-SELECT 'mic-cte' AS name, ST_AsText(st_snaptogrid((ST_MaximumInscribedCircle(ply)).center,0.001))
+SELECT 'mic-cte' AS name, ST_AsText(st_snaptogrid((ST_MaximumInscribedCircle(ply)).center,0.1))
FROM p;
-- ST_ReducePrecision
diff --git a/regress/core/geos39_expected b/regress/core/geos39_expected
index 3bfd0eb36..cc507a7f4 100644
--- a/regress/core/geos39_expected
+++ b/regress/core/geos39_expected
@@ -1,10 +1,10 @@
-mic-box|POINT(49.5117 49.5117)|POINT(50.5111 98.9796)|49.4779
+mic-box|POINT(49.5 49.5)|POINT(50.5 99)|49.5
mic-empty|POINT EMPTY|POINT EMPTY|0.0000
mic-null|||
mic-line|POINT(49.5117 49.5117)|POINT(50.5111 98.9796)|49.4779
mic-mpoint|POINT(48.584 49.9512)|POINT(99 98)|69.6453
mic-point|POINT(0 0)|POINT(0 0)|0.0000
-mic-cte|POINT(49.512 49.512)
+mic-cte|POINT(49.5 49.5)
rp-1|POINT(1.4 19.3)
rp-2|POINT(1 19)
rp-3|POINT(0 20)
-----------------------------------------------------------------------
Summary of changes:
regress/core/geos39.sql | 8 ++++----
regress/core/geos39_expected | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list