mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04: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"}]
|
|
}
|