Skip to content

Commit

Permalink
add functions help
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 7, 2025
1 parent 4c69e60 commit 2824a4e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/function_help/json/CRS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "CRS",
"type": "group",
"description": "This group contains functions to operate on coordinate reference system objects."
}
15 changes: 15 additions & 0 deletions resources/function_help/json/crs_authid
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "crs_authid",
"type": "function",
"groups": ["CRS"],
"description": "Returns a user-friendly identifier for the CRS",
"arguments": [{
"arg": "crs",
"description": "crs value"
}],
"examples": [{
"expression": "crs_authid(make_crs('EPSG:3857'))",
"returns": "'EPSG:3857'"
}],
"tags": ["crs", "epsg", "authid"]
}
15 changes: 15 additions & 0 deletions resources/function_help/json/make_crs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "make_crs",
"type": "function",
"groups": ["CRS"],
"description": "Creates a coordinate reference system from a string definition",
"arguments": [{
"arg": "definition",
"description": "CRS definition"
}],
"examples": [{
"expression": "make_crs('EPSG:3857')",
"returns": "crs value 'EPSG:3857 - WGS 84 / Pseudo-Mercator'"
}],
"tags": ["crs", "epsg"]
}

0 comments on commit 2824a4e

Please sign in to comment.