[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. b73f67376145d96c9f5bb2c31bc407dd6e311746
git at osgeo.org
git at osgeo.org
Wed Jan 15 02:30:59 PST 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-3.0 has been updated
via b73f67376145d96c9f5bb2c31bc407dd6e311746 (commit)
from fbaff4cfc6df64669561a9bc77729ffeecb2d41f (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 b73f67376145d96c9f5bb2c31bc407dd6e311746
Author: Raúl Marín <git at rmr.ninja>
Date: Tue Jan 14 19:20:56 2020 +0100
Reduce output precision in ST_TileEnvelope test
The output is slightly different in 32bit plaftorms
References #4619
References #4600
diff --git a/regress/core/regress.sql b/regress/core/regress.sql
index 78ab69b..69d4ee4 100644
--- a/regress/core/regress.sql
+++ b/regress/core/regress.sql
@@ -268,7 +268,7 @@ select '226', ST_SRID(ST_Expand('SRID=4326;POINT (0 0)'::geometry, 1))=4326;
select '227', ST_AsEWKT(ST_TileEnvelope(-1, 0, 0));
select '228', ST_AsEWKT(ST_TileEnvelope(0, 0, 1));
select '229', ST_AsEWKT(ST_TileEnvelope(0, 0, 0));
-select '230', ST_AsEWKT(ST_TileEnvelope(4, 8, 8));
+select '230', ST_AsText(ST_TileEnvelope(4, 8, 8), 7);
select '231', ST_AsEWKT(ST_TileEnvelope(4, 15, 15));
select '232', ST_AsEWKT(ST_TileEnvelope(4, 8, 8, ST_MakeEnvelope(-100, -100, 100, 100, 0)));
select '233', ST_AsEWKT(ST_TileEnvelope(4, 15, 15, ST_MakeEnvelope(-100, -100, 100, 100, 0)));
diff --git a/regress/core/regress_expected b/regress/core/regress_expected
index cde8673..e58d74f 100644
--- a/regress/core/regress_expected
+++ b/regress/core/regress_expected
@@ -197,7 +197,7 @@ ERROR: geometry contains non-closed rings
ERROR: ST_TileEnvelope: Invalid tile zoom value, -1
ERROR: ST_TileEnvelope: Invalid tile y value, 1
229|SRID=3857;POLYGON((-20037508.342789 -20037508.342789,-20037508.342789 20037508.342789,20037508.342789 20037508.342789,20037508.342789 -20037508.342789,-20037508.342789 -20037508.342789))
-230|SRID=3857;POLYGON((0 -2504688.54284862,0 0,2504688.54284862 0,2504688.54284862 -2504688.54284862,0 -2504688.54284862))
+230|POLYGON((0 -2504688.5428486,0 0,2504688.5428486 0,2504688.5428486 -2504688.5428486,0 -2504688.5428486))
231|SRID=3857;POLYGON((17532819.7999404 -20037508.342789,17532819.7999404 -17532819.7999404,20037508.342789 -17532819.7999404,20037508.342789 -20037508.342789,17532819.7999404 -20037508.342789))
232|POLYGON((0 -12.5,0 0,12.5 0,12.5 -12.5,0 -12.5))
233|POLYGON((87.5 -100,87.5 -87.5,100 -87.5,100 -100,87.5 -100))
-----------------------------------------------------------------------
Summary of changes:
regress/core/regress.sql | 2 +-
regress/core/regress_expected | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list