mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
22 lines
698 B
Plaintext
22 lines
698 B
Plaintext
{
|
|
"name": "transform",
|
|
"type": "function",
|
|
"groups": ["GeometryGroup"],
|
|
"description": "Returns the geometry transformed from a source CRS to a destination CRS.",
|
|
"arguments": [{
|
|
"arg": "geometry",
|
|
"description": "a geometry"
|
|
}, {
|
|
"arg": "source_auth_id",
|
|
"description": "the source CRS definition or CRS object"
|
|
}, {
|
|
"arg": "dest_auth_id",
|
|
"description": "the destination CRS definition or CRS object"
|
|
}],
|
|
"examples": [{
|
|
"expression": "geom_to_wkt( transform( make_point(488995.53240249, 7104473.38600835), 'EPSG:2154', 'EPSG:4326' ) )",
|
|
"returns": "'POINT(0 51)'"
|
|
}],
|
|
"tags": ["crs", "source", "transformed", "destination", "reprojection"]
|
|
}
|