[PostGIS] #3651: ST_Orientation crashes the backend
PostGIS
trac at osgeo.org
Tue Apr 22 07:13:12 PDT 2025
#3651: ST_Orientation crashes the backend
--------------------------+----------------------------
Reporter: postgispaul | Owner: robe
Type: defect | Status: new
Priority: high | Milestone: PostGIS SFCGAL
Component: sfcgal | Version: 2.3.x
Resolution: | Keywords: windows
--------------------------+----------------------------
Comment (by Loïc Bartoletti):
What is the geometry tested?
On a simple polygon, it seems ok:
{{{
gis=# SELECT CG_Orientation('POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))');
cg_orientation
----------------
1
(1 ligne)
gis=# SELECT CG_Orientation(CG_ForceLHR('POLYGON((0 0, 0 1, 1 1, 1 0, 0
0))'));
cg_orientation
----------------
-1
(1 ligne)
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3651#comment:22>
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