mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
11 lines
547 B
Plaintext
11 lines
547 B
Plaintext
|
{
|
||
|
"name": "rotate",
|
||
|
"type": "function",
|
||
|
"description": "Returns a rotated version of a geometry. Calculations are in the Spatial Reference System of this geometry.",
|
||
|
"arguments": [ {"arg":"geom","description":"a geometry"},
|
||
|
{"arg":"rotation","description":"clockwise rotation in degrees"},
|
||
|
{"arg":"point","description":"rotation center"}
|
||
|
],
|
||
|
"examples": [ { "expression":"rotate($geometry, 45, centroid($geometry))", "returns":"a rotated geometry of the same type as the original one"}]
|
||
|
}
|