2015-12-07 17:48:13 +01:00
|
|
|
{
|
|
|
|
"name": "translate",
|
|
|
|
"type": "function",
|
2020-07-02 01:46:48 +01:00
|
|
|
"groups": ["GeometryGroup"],
|
2015-12-07 17:48:13 +01:00
|
|
|
"description": "Returns a translated version of a geometry. Calculations are in the Spatial Reference System of this geometry.",
|
2020-07-29 17:39:43 +02:00
|
|
|
"arguments": [ {"arg":"geometry","description":"a geometry"},
|
2015-12-07 17:48:13 +01:00
|
|
|
{"arg":"dx","description":"delta x"},
|
|
|
|
{"arg":"dy","description":"delta y"}
|
|
|
|
],
|
|
|
|
"examples": [ { "expression":"translate($geometry, 5, 10)", "returns":"a geometry of the same type like the original one"}]
|
|
|
|
}
|