[PostGIS] #6081: Test failure with SFCGAL 2.3.0
PostGIS
trac at osgeo.org
Fri Jun 12 10:47:30 PDT 2026
#6081: Test failure with SFCGAL 2.3.0
----------------------------+-----------------------------
Reporter: Bas Couwenberg | Owner: Loïc Bartoletti
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.6.5
Component: sfcgal | Version: 3.6.x
Keywords: |
----------------------------+-----------------------------
Two tests fail with SFCGAL 2.3.0:
{{{
/build/postgis-3.6.4+dfsg/sfcgal/regress/alphashape .. failed (diff
expected obtained: /tmp/pgis_reg/test_168_diff)
-----------------------------------------------------------------------------
--- ./sfcgal/regress/alphashape_expected 2026-06-08
18:28:56.000000000 +0000
+++ /tmp/pgis_reg/test_168_out 2026-06-12 17:42:48.730767282 +0000
@@ -1,4 +1,4 @@
-CG_AlphaShape_default|POLYGON((8.9 5.3,9.1 5,8.7 4.2,9 3,8.4 1.9,7.8
1.6,7.3 1.6,6.5 1.6,5.3 1.8,4.3 1.9,3.7 2.3,3 2.2,2.8 3.3,2.3 3.6,2.6
4.4,2.7 5.4,2.3 6,2.4 6.7,2.7 7.7,2.4 8.2,2.6 8.5,3.4 8.6,3.9 8.8,4.5
9,4.9 9.5,5.2 9.8,5.7 9.7,6.4 9.7,7.2 9.5,7.6 8.8,7.5 8.4,8.3 7.2,8.5
7.1,8.8 5.8,8.9 5.3))
-CG_AlphaShape_hole|POLYGON((8.9 5.3,9.1 5,8.7 4.2,9 3,8.4 1.9,7.8 1.6,7.3
1.6,6.5 1.6,5.3 1.8,4.3 1.9,3.7 2.3,3 2.2,2.8 3.3,2.3 3.6,2.6 4.4,2.7
5.4,2.3 6,2.4 6.7,2.7 7.7,2.4 8.2,2.6 8.5,3.4 8.6,3.9 8.8,4.5 9,4.9
9.5,5.2 9.8,5.7 9.7,6.4 9.7,7.2 9.5,7.6 8.8,7.5 8.4,8.3 7.2,8.5 7.1,8.8
5.8,8.9 5.3),(3.6 6.1,3.6 6.8,4 7.5,4.3 8,6 8.1,6.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7,5.2 9.8,4.9
9.5,4.5 9,3.9 8.8,3.4 8.6,2.6 8.5,2.4 8.2,2.7 7.7,2.4 6.7,2.3 6,2.7
5.4,2.6 4.4,2.3 3.6,2.8 3.3,3 2.2,3.7 2.3,4.3 1.9,5.3 1.8,6.5 1.6,7.3
1.6,7.8 1.6,8.4 1.9,8.8 2.9,9 3,8.7 4.2,9.1 5,8.9 5.3),(3.6 6.8,4 7.5,4.3
8,5 8.6,6 8.1,6.8 7.3,7.7 6.7,8.1 6,8.2 5.4,8.1 4.7,7.8 4.3,8.1 2.9,7.6
2.7,7 2,6.2 2.2,5.5 2.6,5.4 3.2,4.8 3.4,4.4 4.2,3.8 4.6,3.6 6.1,3.6 6.8)))
-----------------------------------------------------------------------------
}}}
{{{
/build/postgis-3.6.4+dfsg/sfcgal/regress/extrudestraigthskeleton ..
failed (diff expected obtained: /tmp/pgis_reg/test_170_diff)
-----------------------------------------------------------------------------
--- ./sfcgal/regress/extrudestraigthskeleton_expected 2026-06-08
18:28:56.000000000 +0000
+++ /tmp/pgis_reg/test_170_out 2026-06-12 17:42:49.070768120 +0000
@@ -1,4 +1,4 @@
-Extrude roof|POLYHEDRALSURFACE Z (((4 5 0,5 5 0,4 4 0,4 5 0)),((2 1 0,5 0
0,0 0 0,2 1 0)),((5 5 0,5 0 0,4 4 0,5 5 0)),((2 1 0,0 0 0,1 1 0,2 1
0)),((1 2 0,1 1 0,0 0 0,1 2 0)),((0 4 0,2 2 0,1 2 0,0 4 0)),((0 4 0,1 2
0,0 0 0,0 4 0)),((4 4 0,5 0 0,2 2 0,4 4 0)),((4 4 0,2 2 0,0 4 0,4 4
0)),((2 2 0,5 0 0,2 1 0,2 2 0)),((0.5 2.5 0.5,0 0 0,0.5 0.5 0.5,0.5 2.5
0.5)),((1 3 1,0 4 0,0.5 2.5 0.5,1 3 1)),((0.5 2.5 0.5,0 4 0,0 0 0,0.5 2.5
0.5)),((2.5 0.5 0.5,5 0 0,3.5 1.5 1.5,2.5 0.5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,0.5 0.5 0.5,0.5 2.5
0.5,1 3 1,0 4 0)),((0 0 0,5 0 0,3.5 1.5 1.5,2.5 0.5 0.5,0.5 0.5 0.5,0 0
0)),((5 0 0,5 5 0,4.5 4.5 0.5,4.5 3.5 0.5,3.5 2.5 1.5,3.5 1.5 1.5,5 0
0)),((5 5 0,4 5 0,4.5 4.5 0.5,5 5 0)),((4 5 0,4 4 0,4.5 3.5 0.5,4.5 4.5
0.5,4 5 0)),((4 4 0,0 4 0,1 3 1,3 3 1,3.5 2.5 1.5,4.5 3.5 0.5,4 4 0)),((2
1 0,1 1 0,0.5 0.5 0.5,2.5 0.5 0.5,2 1 0)),((1 1 0,1 2 0,0.5 2.5 0.5,0.5
0.5 0.5,1 1 0)),((1 2 0,2 2 0,3 3 1,1 3 1,0.5 2.5 0.5,1 2 0)),((2 2 0,2 1
0,2.5 0.5 0.5,3.5 1.5 1.5,3.5 2.5 1.5,3 3 1,2 2 0)))
+Extrude building and roof|f
Empty building and roof|POLYHEDRALSURFACE EMPTY
Empty roof|POLYHEDRALSURFACE EMPTY
-----------------------------------------------------------------------------
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6081>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list