Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add force_polygon_cw and force_polygon_ccw expression functions (Request in QGIS) #7010

Closed
qgis-bot opened this issue Nov 1, 2021 · 0 comments · Fixed by #7016
Closed

Add force_polygon_cw and force_polygon_ccw expression functions (Request in QGIS) #7010

qgis-bot opened this issue Nov 1, 2021 · 0 comments · Fixed by #7016
Labels
3.24 QGIS 3.24 new features Expressions
Milestone

Comments

@qgis-bot
Copy link
Collaborator

qgis-bot commented Nov 1, 2021

Request for documentation

From pull request qgis/QGIS#45718
Author: @nyalldawson
QGIS version: 3.24

Add force_polygon_cw and force_polygon_ccw expression functions

PR Description:

These are recommended for use instead of the existing force_rhr function, due to the variability in definition of the "right hand rule" between different software applications. Using an explicit force_polygon_cw/ccw function removes user confusion when the results vary between different applications.

(Note that this matches PostGIS' recommendations now: see https://postgis.net/docs/ST_ForceRHR.html )

I'd like to backport this to 3.22 too.

Commits tagged with [need-docs] or [FEATURE]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.24 QGIS 3.24 new features Expressions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants