[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.7-19-g2a1d75924

git at osgeo.org git at osgeo.org
Fri Aug 12 08:31:36 PDT 2022


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-2.5 has been updated
       via  2a1d759245f256d0a20c1fd0848ef15aefa9f34c (commit)
      from  a15932c364cd21d5ae47788b62df6e300a80ab8d (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 2a1d759245f256d0a20c1fd0848ef15aefa9f34c
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Aug 12 17:30:27 2022 +0200

    Drop custom SRIDs usages in topology tests

diff --git a/topology/test/regress/st_createtopogeo.sql b/topology/test/regress/st_createtopogeo.sql
index 2d0b4ce70..8d25a2bb8 100644
--- a/topology/test/regress/st_createtopogeo.sql
+++ b/topology/test/regress/st_createtopogeo.sql
@@ -1,9 +1,6 @@
 \set VERBOSITY terse
 set client_min_messages to ERROR;
 
-TRUNCATE spatial_ref_sys;
-INSERT INTO spatial_ref_sys ( auth_name, auth_srid, srid, proj4text ) VALUES ( 'EPSG', 4326, 4326, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' );
-
 -- Invalid topologies
 select topology.st_createtopogeo('', 'GEOMETRYCOLLECTION(POINT(0 0))');
 select topology.st_createtopogeo('t', 'GEOMETRYCOLLECTION(POINT(0 0))');
@@ -248,6 +245,5 @@ select * from print_isolated_nodes('T17');
 select null from ( select topology.DropTopology('t') ) as dt;
 
 -- clean up
-DELETE FROM spatial_ref_sys where srid = 4326;
 DROP FUNCTION print_isolated_nodes(text);
 DROP FUNCTION print_elements_count(text);
diff --git a/topology/test/regress/st_modedgesplit.sql b/topology/test/regress/st_modedgesplit.sql
index aed4c0b32..98310fe34 100644
--- a/topology/test/regress/st_modedgesplit.sql
+++ b/topology/test/regress/st_modedgesplit.sql
@@ -2,8 +2,6 @@
 \set VERBOSITY terse
 set client_min_messages to WARNING;
 
-INSERT INTO spatial_ref_sys ( auth_name, auth_srid, srid, proj4text ) VALUES ( 'EPSG', 4326, 4326, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' );
-
 -- Import city_data
 \i ../load_topology-4326.sql
 
@@ -145,7 +143,6 @@ DROP TABLE t;
 
 DROP FUNCTION check_changes();
 SELECT DropTopology('city_data');
-DELETE FROM spatial_ref_sys where srid = 4326;
 
 -- See https://trac.osgeo.org/postgis/ticket/3401
 SELECT 't3401.start', CreateTopology('bug3401') > 1;
diff --git a/topology/test/regress/st_newedgessplit.sql b/topology/test/regress/st_newedgessplit.sql
index 2e47a5d9a..abaeafd97 100644
--- a/topology/test/regress/st_newedgessplit.sql
+++ b/topology/test/regress/st_newedgessplit.sql
@@ -2,8 +2,6 @@
 \set VERBOSITY terse
 set client_min_messages to ERROR;
 
-INSERT INTO spatial_ref_sys ( auth_name, auth_srid, srid, proj4text ) VALUES ( 'EPSG', 4326, 4326, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' );
-
 -- Import city_data
 \i ../load_topology-4326.sql
 
@@ -145,4 +143,3 @@ DROP TABLE t;
 
 DROP FUNCTION check_changes();
 SELECT DropTopology('city_data');
-DELETE FROM spatial_ref_sys where srid = 4326;
diff --git a/topology/test/regress/st_remedgemodface.sql b/topology/test/regress/st_remedgemodface.sql
index dcdc0eef7..67f3e5adc 100644
--- a/topology/test/regress/st_remedgemodface.sql
+++ b/topology/test/regress/st_remedgemodface.sql
@@ -1,8 +1,6 @@
 \set VERBOSITY terse
 set client_min_messages to ERROR;
 
-INSERT INTO spatial_ref_sys ( auth_name, auth_srid, srid, proj4text ) VALUES ( 'EPSG', 4326, 4326, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' );
-
 -- Import city_data
 \i ../load_topology-4326.sql
 
@@ -424,5 +422,4 @@ DROP FUNCTION check_faces(text);
 DROP FUNCTION save_nodes();
 DROP FUNCTION check_nodes(text);
 DROP FUNCTION catch_error(text);
-DELETE FROM spatial_ref_sys where srid = 4326;
 
diff --git a/topology/test/regress/st_remedgenewface.sql b/topology/test/regress/st_remedgenewface.sql
index 238c12511..c5f5413ba 100644
--- a/topology/test/regress/st_remedgenewface.sql
+++ b/topology/test/regress/st_remedgenewface.sql
@@ -1,8 +1,6 @@
 \set VERBOSITY terse
 set client_min_messages to ERROR;
 
-INSERT INTO spatial_ref_sys ( auth_name, auth_srid, srid, proj4text ) VALUES ( 'EPSG', 4326, 4326, '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' );
-
 -- Import city_data
 \i ../load_topology-4326.sql
 
@@ -424,5 +422,3 @@ DROP FUNCTION check_faces(text);
 DROP FUNCTION save_nodes();
 DROP FUNCTION check_nodes(text);
 DROP FUNCTION catch_error(text);
-DELETE FROM spatial_ref_sys where srid = 4326;
-

-----------------------------------------------------------------------

Summary of changes:
 topology/test/regress/st_createtopogeo.sql  | 4 ----
 topology/test/regress/st_modedgesplit.sql   | 3 ---
 topology/test/regress/st_newedgessplit.sql  | 3 ---
 topology/test/regress/st_remedgemodface.sql | 3 ---
 topology/test/regress/st_remedgenewface.sql | 4 ----
 5 files changed, 17 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list