[SCM] PostGIS branch master updated. 3.6.0rc2-451-g67999e2b1

git at osgeo.org git at osgeo.org
Mon Apr 13 11:48:39 PDT 2026


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  67999e2b1d2683ea14785e00e77070a2ced9aa7d (commit)
      from  d4f15e43ae5602910bd05e65685022d485063e73 (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 67999e2b1d2683ea14785e00e77070a2ced9aa7d
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Apr 13 11:48:35 2026 -0700

    Add regression tests for Curve handling cases with oddball inputs

diff --git a/regress/core/curvetoline.sql b/regress/core/curvetoline.sql
index 3fe30a78a..ac7e11792 100644
--- a/regress/core/curvetoline.sql
+++ b/regress/core/curvetoline.sql
@@ -60,3 +60,4 @@ SELECT 'multiarc1.maxerr20.sym', ST_AsText(ST_SnapToGrid(ST_CurveToLine(
 	1  -- Symmetric
 ), 2));
 
+SELECT 'ST_CurveToLine EMPTY', ST_CurveToLine('CIRCULARSTRING EMPTY');
diff --git a/regress/core/curvetoline_expected b/regress/core/curvetoline_expected
index 115897e9b..937e6d492 100644
--- a/regress/core/curvetoline_expected
+++ b/regress/core/curvetoline_expected
@@ -6,3 +6,4 @@ semicircle3.sym|LINESTRING(0 0,20 -58,70 -96,130 -96,180 -58,200 0)
 semicircle3.sym.ret|LINESTRING(0 0,2 -18,36 -76,100 -100,164 -76,198 -18,200 0)
 multiarc1|LINESTRING(0 0,30 -70,100 -100,170 -70,200 0,258 142,400 200,542 142,600 0)
 multiarc1.maxerr20.sym|LINESTRING(0 0,50 -86,150 -86,200 0,258 142,400 200,542 142,600 0)
+ST_CurveToLine EMPTY|010200000000000000
diff --git a/regress/core/sql-mm-compoundcurve.sql b/regress/core/sql-mm-compoundcurve.sql
index 2c18afab0..b05b9fcb4 100644
--- a/regress/core/sql-mm-compoundcurve.sql
+++ b/regress/core/sql-mm-compoundcurve.sql
@@ -263,3 +263,7 @@ SELECT 'curve accessors 01',
   ST_GeometryType(ST_CurveN(geom,0)) as curven_0,
   ST_CurveN(ST_CurveN(geom,3), 1) as curven_3_curven_1
 FROM f;
+
+SELECT 'ST_IsClosed',
+       ST_IsClosed('01090000000200000001020000000200000000000000000000000000000000000000000000000000f03f000000000000f03f010200000000000000'::geometry);
+
diff --git a/regress/core/sql-mm-compoundcurve_expected b/regress/core/sql-mm-compoundcurve_expected
index 783f64650..eead7ab85 100644
--- a/regress/core/sql-mm-compoundcurve_expected
+++ b/regress/core/sql-mm-compoundcurve_expected
@@ -82,3 +82,4 @@ ERROR:  geometry requires more points
 ERROR:  geometry requires more points
 ERROR:  geometry requires more points
 curve accessors 01|1|ST_CompoundCurve|ST_LineString||3|ST_LineString|ST_CircularString|ST_LineString|||
+ST_IsClosed|f

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

Summary of changes:
 regress/core/curvetoline.sql               | 1 +
 regress/core/curvetoline_expected          | 1 +
 regress/core/sql-mm-compoundcurve.sql      | 4 ++++
 regress/core/sql-mm-compoundcurve_expected | 1 +
 4 files changed, 7 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list