2015-06-11 12:02:27 +10:00
|
|
|
{
|
2015-09-20 17:12:43 +02:00
|
|
|
"name": "transform",
|
|
|
|
"type": "function",
|
2020-07-02 01:46:48 +01:00
|
|
|
"groups": ["GeometryGroup"],
|
2015-06-11 12:02:27 +10:00
|
|
|
"description": "Returns the geometry transformed from a source CRS to a destination CRS.",
|
2020-07-29 17:39:43 +02:00
|
|
|
"arguments": [ {"arg":"geometry","description":"a geometry"},
|
2015-06-11 12:02:27 +10:00
|
|
|
{"arg":"source_auth_id","description":"the source auth CRS ID"},
|
|
|
|
{"arg":"dest_auth_id","description":"the destination auth CRS ID"}
|
|
|
|
],
|
2020-08-29 08:26:29 +02:00
|
|
|
"examples": [ { "expression":"geom_to_wkt( transform( make_point(488995.53240249, 7104473.38600835), 'EPSG:2154', 'EPSG:4326' ) )", "returns":"'POINT(0 51)'"}
|
2015-06-11 12:02:27 +10:00
|
|
|
]
|
|
|
|
}
|