[SCM] PostGIS branch master updated. 3.6.0rc2-442-gdca869b30

git at osgeo.org git at osgeo.org
Mon Apr 13 06:50:16 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  dca869b309a2d7fda9fd1c173a326540af9f34d8 (commit)
      from  af86ae40655391f797ad95cf97b6e7fca5cb7e33 (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 dca869b309a2d7fda9fd1c173a326540af9f34d8
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Apr 13 15:48:22 2026 +0200

    Add SFCGAL test for ring orientation case requiring higher precision
    
    References #6065

diff --git a/sfcgal/regress/orientation.sql b/sfcgal/regress/orientation.sql
index f30ed17b7..a237b636c 100644
--- a/sfcgal/regress/orientation.sql
+++ b/sfcgal/regress/orientation.sql
@@ -1,2 +1,4 @@
-SELECT 'CG_Orientation_1', CG_Orientation(CG_ForceLHR('POLYGON((0 0,0 1,1 1,1 0,0 0))'));
-SELECT 'CG_Orientation_2', CG_Orientation(ST_ForceRHR('POLYGON((0 0,0 1,1 1,1 0,0 0))'));
+SELECT 'CG_Orientation_1', CG_Orientation(CG_ForceLHR('POLYGON((0 0,0 1,1 1,1 0,0 0))')); -- Left hand rule: counterclockwise (interior is on the left side)
+SELECT 'CG_Orientation_2', CG_Orientation(ST_ForceRHR('POLYGON((0 0,0 1,1 1,1 0,0 0))')); -- Right hand rule: clockwise (interior is on the right side)
+SELECT 'CG_Orientation_3', CG_Orientation('POLYGON((0 0,0 1,1 1,1 0,0 0))'); -- clockwise
+SELECT 't6065', CG_Orientation('0103000000010000000A000000890205230D6C31408177583619475140FD613B270D6C314031AA5436194751405D58985776943140195EE965DE47514085FFA6647B9F31408FC1C62B394851405D58985776943140195EE965DE475140FD613B270D6C314031AA543619475140A4613B270D6C31402FAA543619475140890205230D6C31408177583619475140320205230D6C31407E77583619475140890205230D6C31408177583619475140');
diff --git a/sfcgal/regress/orientation_expected b/sfcgal/regress/orientation_expected
index 6479c3034..a6d7c7cc3 100644
--- a/sfcgal/regress/orientation_expected
+++ b/sfcgal/regress/orientation_expected
@@ -1,2 +1,4 @@
 CG_Orientation_1|-1
 CG_Orientation_2|1
+CG_Orientation_3|1
+t6065|1

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

Summary of changes:
 sfcgal/regress/orientation.sql      | 6 ++++--
 sfcgal/regress/orientation_expected | 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list