[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.3-2-gb2ad18b

git at osgeo.org git at osgeo.org
Sat Dec 5 17:41:56 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  b2ad18b3cfbc2624beea7b31e318058406b7d160 (commit)
      from  6bfc793dba4d3ff21b20f5e85f247ea15d9de205 (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 b2ad18b3cfbc2624beea7b31e318058406b7d160
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Dec 5 20:41:49 2020 -0500

    Fix for GEOS 3.9 regression topogeom - references #4809 for PostGIS 3.0

diff --git a/topology/test/regress/totopogeom.sql b/topology/test/regress/totopogeom.sql
index 6f78aeec..7f444be 100644
--- a/topology/test/regress/totopogeom.sql
+++ b/topology/test/regress/totopogeom.sql
@@ -87,7 +87,7 @@ inp as ( select
 )'
  ::geometry as g),
 tg as ( select totopogeom(g, 'tt', 5) as g from inp )
-select St_AsText(inp.g), st_astext(tg.g::geometry) from inp, tg;
+select St_AsText(inp.g), st_astext(ST_Normalize(tg.g::geometry) ) from inp, tg;
 
 -- Convert some empties
 SELECT ST_AsText(toTopoGeom('POINT EMPTY', 'tt', 1)::geometry);
diff --git a/topology/test/regress/totopogeom_expected b/topology/test/regress/totopogeom_expected
index 7f222f8..bda0c3a 100644
--- a/topology/test/regress/totopogeom_expected
+++ b/topology/test/regress/totopogeom_expected
@@ -24,7 +24,7 @@ POLYGON((0 20,10 20,5 30,0 20),(2 22,8 22,5 28,2 22))|t
 MULTIPOINT(0 -10,5 -10)|t
 MULTILINESTRING((-1 10,-10 10),(-10 8,-2 9))|t
 MULTIPOLYGON(((100 20,110 20,105 30,100 20),(102 22,108 22,105 28,102 22)),((80 20,90 20,90 60,80 20)))|t
-GEOMETRYCOLLECTION(POINT(-100 -100),LINESTRING(-100 -90,-90 -90),POLYGON((-100 -80,-90 -80,-95 -70,-100 -80),(-98 -78,-92 -78,-95 -72,-98 -78)),MULTIPOINT(-100 -110,-95 -110),LINESTRING EMPTY,MULTILINESTRING((-101 -90,-110 -90),(-110 -92,-102 -91)),MULTIPOLYGON(((0 -80,10 -80,5 -70,0 -80),(2 -78,8 -78,5 -72,2 -78)),((-20 -80,-10 -80,-10 -40,-20 -80))))|GEOMETRYCOLLECTION(MULTIPOLYGON(((-100 -80,-95 -70,-90 -80,-100 -80),(-98 -78,-92 -78,-95 -72,-98 -78)),((0 -80,5 -70,10 -80,0 -80),(2 -78,8 -78,5 -72,2 -78)),((-20 -80,-10 -40,-10 -80,-20 -80))),MULTILINESTRING((-110 -92,-102 -91),(-101 -90,-110 -90),(-100 -90,-90 -90)),MULTIPOINT(-100 -110,-100 -100,-95 -110))
+GEOMETRYCOLLECTION(POINT(-100 -100),LINESTRING(-100 -90,-90 -90),POLYGON((-100 -80,-90 -80,-95 -70,-100 -80),(-98 -78,-92 -78,-95 -72,-98 -78)),MULTIPOINT(-100 -110,-95 -110),LINESTRING EMPTY,MULTILINESTRING((-101 -90,-110 -90),(-110 -92,-102 -91)),MULTIPOLYGON(((0 -80,10 -80,5 -70,0 -80),(2 -78,8 -78,5 -72,2 -78)),((-20 -80,-10 -80,-10 -40,-20 -80))))|GEOMETRYCOLLECTION(MULTIPOLYGON(((0 -80,5 -70,10 -80,0 -80),(2 -78,8 -78,5 -72,2 -78)),((-20 -80,-10 -40,-10 -80,-20 -80)),((-100 -80,-95 -70,-90 -80,-100 -80),(-98 -78,-92 -78,-95 -72,-98 -78))),MULTILINESTRING((-100 -90,-90 -90),(-110 -90,-101 -90),(-110 -92,-102 -91)),MULTIPOINT(-95 -110,-100 -100,-100 -110))
 MULTIPOINT EMPTY
 MULTIPOINT EMPTY
 MULTILINESTRING EMPTY

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

Summary of changes:
 topology/test/regress/totopogeom.sql      | 2 +-
 topology/test/regress/totopogeom_expected | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list