mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
12 lines
470 B
Plaintext
12 lines
470 B
Plaintext
{
|
|
"name": "transform",
|
|
"type": "function",
|
|
"description": "Returns the geometry transformed from a source CRS to a destination CRS.",
|
|
"arguments": [ {"arg":"geom","description":"a geometry"},
|
|
{"arg":"source_auth_id","description":"the source auth CRS ID"},
|
|
{"arg":"dest_auth_id","description":"the destination auth CRS ID"}
|
|
],
|
|
"examples": [ { "expression":"geom_to_wkt( transform( $geometry, 'EPSG:2154', 'EPSG:4326' ) )", "returns":"POINT(0 51)"}
|
|
]
|
|
}
|