---
title: "ST_Orientation"
draft: false
hidden: true
---
ST_Orientation — Determine surface orientation
integer
ST_Orientation
(
geometry
geom
)
;
ST_Orientation is deprecated as of 3.5.0. Use CG_Orientation instead. |
The function only applies to polygons. It returns -1 if the polygon is counterclockwise oriented and 1 if the polygon is clockwise oriented.
Availability: 2.1.0
This method needs SFCGAL backend.
This function supports 3d and will not drop the z-index.