[SCM] PostGIS branch master updated. 3.5.0-290-g0d16b359f
git at osgeo.org
git at osgeo.org
Mon Apr 28 02:48:01 PDT 2025
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 0d16b359f9049379cd69dbfb1a6c0271d1d19cf3 (commit)
from f22e2506a02fa17cefece2c6d6399042c3d54946 (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 0d16b359f9049379cd69dbfb1a6c0271d1d19cf3
Author: Loïc Bartoletti <loic.bartoletti at oslandia.com>
Date: Mon Apr 28 09:44:14 2025 +0200
tests(Partition): Fix tests and results
Fix against https://trac.osgeo.org/postgis/ticket/5872
diff --git a/NEWS b/NEWS
index 78d68a953..082c60ce9 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ PostGIS 3.6.0
* Bug fixes *
- #5818, GT-244 Fix CG_IsSolid function (Loïc Bartoletti)
+ - #5872, GH-796 Fix tests and results for SK Partition (Loïc Bartoletti)
* Breaking Changes *
diff --git a/sfcgal/regress/sfcgal_v2.sql b/sfcgal/regress/sfcgal_v2.sql
index 06c01ed1f..aedb60a49 100644
--- a/sfcgal/regress/sfcgal_v2.sql
+++ b/sfcgal/regress/sfcgal_v2.sql
@@ -10,7 +10,7 @@ SELECT 'CG_3DScale', ST_AsText(CG_3DScale('POINT(1 1 1)', 2, 3, 4), 0);
SELECT 'CG_3DScaleAroundCenter', ST_AsText(ST_ReducePrecision(CG_3DScaleAroundCenter('POINT(2 2 2)', 0.5, 0.5, 0.5, 1, 1, 1), 0.1));
SELECT 'CG_Translate', ST_AsText(CG_Translate('LINESTRING(1 1, 2 2)', 1, -1), 0);
SELECT 'CG_3DTranslate', ST_AsText(CG_3DTranslate('POINT(1 1 1)', 1, -1, 2), 0);
-SELECT 'CG_StraightSkeletonPartition', ST_AsText(CG_StraightSkeletonPartition('POLYGON((0 0, 4 0, 2 2, 0 0))', true), 2);
+SELECT 'CG_StraightSkeletonPartition', ST_AsText(ST_Collect(dmp.geom), 2) FROM ST_Dump(CG_StraightSkeletonPartition('POLYGON((0 0, 4 0, 2 2, 0 0))', true)) as dmp;
SELECT 'CG_3DBuffer', ST_AsText(CG_3DBuffer('POINT(0 0 0)', 1, 8, 0), 2);
SELECT 'CG_Rotate', ST_AsText(ST_ReducePrecision(CG_Rotate('LINESTRING EMPTY', pi()/2), 0.1));
SELECT 'CG_2DRotate', ST_AsText(CG_2DRotate('POINT EMPTY', pi()/2, 1, 1), 0);
@@ -23,5 +23,5 @@ SELECT 'CG_3DScale', ST_AsText(CG_3DScale('POINT EMPTY', 2, 3, 4), 0);
SELECT 'CG_3DScaleAroundCenter', ST_AsText(ST_ReducePrecision(CG_3DScaleAroundCenter('POINT EMPTY', 0.5, 0.5, 0.5, 1, 1, 1), 0.1));
SELECT 'CG_Translate', ST_AsText(CG_Translate('LINESTRING EMPTY', 1, -1), 0);
SELECT 'CG_3DTranslate', ST_AsText(CG_3DTranslate('POINT EMPTY', 1, -1, 2), 0);
-SELECT 'CG_StraightSkeletonPartition', ST_AsText(CG_StraightSkeletonPartition('POLYGON EMPTY', true), 2);
+SELECT 'CG_StraightSkeletonPartition', replace(ST_AsText(CG_StraightSkeletonPartition('POLYGON EMPTY', true), 2), 'MULTIPOLYGON', 'POLYHEDRALSURFACE');
SELECT 'CG_3DBuffer', ST_AsText(CG_3DBuffer('POINT EMPTY', 1, 8, 0), 2);
diff --git a/sfcgal/regress/sfcgal_v2_expected b/sfcgal/regress/sfcgal_v2_expected
index 77eebaf30..4560a0926 100644
--- a/sfcgal/regress/sfcgal_v2_expected
+++ b/sfcgal/regress/sfcgal_v2_expected
@@ -22,5 +22,5 @@ CG_3DScale|POINT Z EMPTY
CG_3DScaleAroundCenter|POINT Z EMPTY
CG_Translate|LINESTRING EMPTY
CG_3DTranslate|POINT Z EMPTY
-CG_StraightSkeletonPartition|MULTIPOLYGON EMPTY
+CG_StraightSkeletonPartition|POLYHEDRALSURFACE EMPTY
CG_3DBuffer|POLYHEDRALSURFACE EMPTY
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
sfcgal/regress/sfcgal_v2.sql | 4 ++--
sfcgal/regress/sfcgal_v2_expected | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list