Nyall Dawson 709c14391b Change expression help from free form html files to structured json
A new script then parses these json help files into the html help
contents, in a standardised manner. Previously, the function help
was a bunch of different formats and structures.

Now, a custom stylesheet can be applied (and later tweaked!) to
format these help. Eg, this commit colors variables and function
names in the syntax section for greater readability.
2015-09-02 14:22:50 +10:00

11 lines
452 B
Plaintext

{
"function": "transform",
"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)"}
]
}