[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.5-5-gc30b5f4f5

git at osgeo.org git at osgeo.org
Tue Jun 20 17:09:30 PDT 2023


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.2 has been updated
       via  c30b5f4f591cc87543b199c2d79f82b90233c25a (commit)
      from  59a8f9d638b25bb8f36511e7c321b7e761a6f01d (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 c30b5f4f591cc87543b199c2d79f82b90233c25a
Author: Regina Obe <lr at pcorp.us>
Date:   Tue Jun 20 20:08:15 2023 -0400

    Revise offset_curve regress tests to pass
    on newer GEOS
    Closes #5391 for PostGIS 3.2.6

diff --git a/regress/core/offsetcurve.sql b/regress/core/offsetcurve.sql
index 4c0a8583f..3bb1fcf9b 100644
--- a/regress/core/offsetcurve.sql
+++ b/regress/core/offsetcurve.sql
@@ -13,7 +13,7 @@ SELECT 't5b', ST_AsEWKT(ST_Normalize(ST_OffsetCurve(
  'SRID=42;LINESTRING(0 0, 10 0, 10 10)', 10)));
 SELECT 't6', ST_AsEWKT(ST_Normalize(ST_SnapToGrid(ST_OffsetCurve(
  'SRID=42;LINESTRING(0 0, 10 0, 10 10)', -10,
- 'quad_segs=2'),1)));
+ 'quad_segs=8'),1)));
 SELECT 't7', ST_AsEWKT(ST_Normalize(ST_OffsetCurve(
  'SRID=42;LINESTRING(0 0, 10 0, 10 10)', -10,
  'join=bevel'))
@@ -41,10 +41,10 @@ SELECT 't12', ST_AsText(ST_Normalize(ST_SnapToGrid(ST_OffsetCurve(
  'LINESTRING(36 38,38 35,41 34,42 33,45 32,47 28,50 28,52 32,57 33)', -2,
  'join=mitre'),
 0.2)), 1);
-SELECT 't13', ST_AsEWKT(ST_Normalize(ST_OffsetCurve(
+SELECT 't13', ST_AsEWKT(ST_Normalize(ST_Simplify(ST_OffsetCurve(
  'LINESTRING(0 0,0 20, 10 20, 10 10, 0 10)', 2,
  'join=mitre'
-)));
+), 0)));
 -- SELECT 't14', ST_AsEWKT(ST_Normalize(ST_OffsetCurve(
 --  'LINESTRING(0 0,0 20, 10 20, 10 10, 0 10)', -2,
 --  ''
diff --git a/regress/core/offsetcurve_expected b/regress/core/offsetcurve_expected
index c06e01514..c3b00af60 100644
--- a/regress/core/offsetcurve_expected
+++ b/regress/core/offsetcurve_expected
@@ -6,7 +6,7 @@ t3|SRID=42;LINESTRING(0 -10,10 -10)
 t4|SRID=42;LINESTRING(0 10,10 10)
 t5|SRID=42;LINESTRING(0 -10,10 -10,12 -10,14 -9,16 -8,17 -7,18 -6,19 -4,20 -2,20 0,20 10)
 t5b|SRID=42;LINESTRING EMPTY
-t6|SRID=42;LINESTRING(0 -10,10 -10,17 -7,20 0,20 10)
+t6|SRID=42;LINESTRING(0 -10,10 -10,12 -10,14 -9,16 -8,17 -7,18 -6,19 -4,20 -2,20 0,20 10)
 t7|SRID=42;LINESTRING(0 -10,10 -10,20 0,20 10)
 t8|SRID=42;LINESTRING(0 -10,20 -10,20 10)
 t10|SRID=42;LINESTRING(0 2,7 2,3 9)

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

Summary of changes:
 regress/core/offsetcurve.sql      | 6 +++---
 regress/core/offsetcurve_expected | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list