[postgis-tickets] [SCM] PostGIS branch master updated. 3c069bf7d1d11625d810da07a635a8010718d99d
git at osgeo.org
git at osgeo.org
Wed Jan 15 02:47:06 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, master has been updated
via 3c069bf7d1d11625d810da07a635a8010718d99d (commit)
from 79e999360209cbe4a98ad26f39819fd1440db4f8 (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 3c069bf7d1d11625d810da07a635a8010718d99d
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
Closes #4619
Closes https://github.com/postgis/postgis/pull/534
diff --git a/regress/core/regress.sql b/regress/core/regress.sql
index 6f5eea3..64c5042 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 f07b639..8577897 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