[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.4-3-g4e1e532fd
git at osgeo.org
git at osgeo.org
Mon Nov 29 09:07:46 PST 2021
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 4e1e532fd15b1153937c787fa1dcec6913c2d9d2 (commit)
from 83b23368293d3b7391c5216e9aa1f05d057b596a (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 4e1e532fd15b1153937c787fa1dcec6913c2d9d2
Author: Regina Obe <lr at pcorp.us>
Date: Sat Sep 4 00:15:38 2021 -0400
Move geobuf tests from tickets to geobuf
... So doesn't fail on systems that don't have mvt/geobuf installed
Fixes #5031
diff --git a/regress/core/geobuf.sql b/regress/core/geobuf.sql
index 8bc9332a2..cd5b35c6c 100644
--- a/regress/core/geobuf.sql
+++ b/regress/core/geobuf.sql
@@ -28,3 +28,11 @@ WITH geom AS (
SELECT 'TRIANGLE EMPTY'::geometry geom
)
select '#4399', 'ST_AsGeobuf', ST_AsGeobuf(geom.*)::text from geom;
+
+SELECT '#4916.a', ST_AsGeobuf(NULL::pg_class, 'g') over (order by b)
+FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
+ ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
+
+SELECT '#4916.b', ST_AsGeobuf(NULL::pg_class) over (order by b)
+FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
+ ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
diff --git a/regress/core/geobuf_expected b/regress/core/geobuf_expected
index e6c7e72c2..e8968bcd8 100644
--- a/regress/core/geobuf_expected
+++ b/regress/core/geobuf_expected
@@ -11,3 +11,7 @@ T8|GAAiGAoWChQIBiIGCAAaAggMIggIAhoECAwGCA==
T9|EAMYACILCgkKBwgAGgMCBAY=
T10|EAMYACILCgkKBwgAGgMCBAY=
#4399|ST_AsGeobuf|\x180022260a0c0a0a08041a060000020201000a100a0e0806220a08041a060000020201000a040a020804
+#4916.a|
+#4916.a|
+#4916.b|
+#4916.b|
diff --git a/regress/core/tickets.sql b/regress/core/tickets.sql
index cbbf801c1..ef2ffb8c8 100644
--- a/regress/core/tickets.sql
+++ b/regress/core/tickets.sql
@@ -596,15 +596,15 @@ select '#1580.1', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395
do $$
declare
-proj_version integer;
+proj_version integer;
err_str text;
begin
select ((regexp_matches(postgis_proj_version(), '(\d+)\.\d+'))[1])::integer into proj_version;
select ST_Transform('SRID=4326;POINT(180 95)'::geometry, 3395); -- fails
-exception
-when others then
+exception
+when others then
err_str := SQLERRM;
if proj_version >= 8 and SQLERRM = 'transform: Invalid coordinate (2049)' then
raise notice '#1580.2: Caught a PROJ error';
@@ -613,8 +613,8 @@ when others then
else
raise notice '#1580.2: Unexpected PROJ Result. Proj version = %. Error string: %', proj_version, err_str;
end if;
-
-end;
+
+end;
$$ language 'plpgsql';
select '#1580.3', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395));
@@ -1384,12 +1384,4 @@ WITH w AS (
)
SELECT '#4770.c', ST_AsText(g), s FROM w;
-SELECT '#4916.a', ST_AsGeobuf(NULL::pg_class, 'g') over (order by b)
-FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
- ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
-
-SELECT '#4916.b', ST_AsGeobuf(NULL::pg_class) over (order by b)
-FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
- ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
-
------
diff --git a/regress/core/tickets_expected b/regress/core/tickets_expected
index f20716ea2..fe50d4d5f 100644
--- a/regress/core/tickets_expected
+++ b/regress/core/tickets_expected
@@ -454,7 +454,3 @@ ERROR: LWGEOM_addpoint: Invalid offset
#4770.b|POINT(1 1)|302
#4770.c|POINT(0 0)|300
#4770.c|MULTIPOINT(0 0,1 1)|602
-#4916.a|
-#4916.a|
-#4916.b|
-#4916.b|
-----------------------------------------------------------------------
Summary of changes:
regress/core/geobuf.sql | 8 ++++++++
regress/core/geobuf_expected | 4 ++++
regress/core/tickets.sql | 18 +++++-------------
regress/core/tickets_expected | 4 ----
4 files changed, 17 insertions(+), 17 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list