[postgis-tickets] [SCM] PostGIS branch stable-3.3 updated. 3.3.2-58-gd775312e6
git at osgeo.org
git at osgeo.org
Fri May 12 13:56:35 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.3 has been updated
via d775312e65494b40fb799fc62f66bed089dcd707 (commit)
from b3d40cb28175a37bbb4a51a752930447f045b959 (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 d775312e65494b40fb799fc62f66bed089dcd707
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