[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-768-g6d598d01d

git at osgeo.org git at osgeo.org
Tue May 9 08:40:41 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, master has been updated
       via  6d598d01d89bade4c13fffecee4f1891fab28c29 (commit)
      from  aebf89db170d4dfb9aee4b445c2f7958f1d90592 (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 6d598d01d89bade4c13fffecee4f1891fab28c29
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue May 9 17:39:59 2023 +0200

    Ignore collinear vertices in offsetcurve
    
    Fixes a failure with newer GEOS code which results in an additional
    vertex (collinear to the existing segment).

diff --git a/regress/core/offsetcurve.sql b/regress/core/offsetcurve.sql
index 4c0a8583f..19623b65a 100644
--- a/regress/core/offsetcurve.sql
+++ b/regress/core/offsetcurve.sql
@@ -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,
 --  ''

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list