Use a more user-friendly "authority ID" label

This commit is contained in:
Harrissou Sant-anna 2025-02-15 16:43:19 +01:00 committed by Nyall Dawson
parent 1265fb2f30
commit 959ccbd111
3 changed files with 3 additions and 5 deletions

View File

@ -13,12 +13,10 @@
"arg": "source_crs", "arg": "source_crs",
"optional": true, "optional": true,
"description": "an optional string or CRS object representing the source CRS of the points. By default the current layer's CRS is used." "description": "an optional string or CRS object representing the source CRS of the points. By default the current layer's CRS is used."
}, { }, {
"arg": "ellipsoid", "arg": "ellipsoid",
"optional": true, "optional": true,
"description": "an optional string representing the acronym or the authority:ID (eg 'EPSG:7030') of the ellipsoid on which the bearing should be measured. By default the current project's ellipsoid setting is used." "description": "an optional string representing the acronym or the authority ID (e.g., 'EPSG:7030') of the ellipsoid on which the bearing should be measured. By default the current project's ellipsoid setting is used."
}], }],
"examples": [{ "examples": [{
"expression": "degrees( bearing( make_point(16198544, -4534850), make_point(18736872, -1877769), 'EPSG:3857', 'EPSG:7030') )", "expression": "degrees( bearing( make_point(16198544, -4534850), make_point(18736872, -1877769), 'EPSG:3857', 'EPSG:7030') )",

View File

@ -2,7 +2,7 @@
"name": "crs_from_text", "name": "crs_from_text",
"type": "function", "type": "function",
"groups": ["CRS"], "groups": ["CRS"],
"description": "Creates a coordinate reference system from a string definition. The string can represent an auth:id code, a WKT definition, or a PROJ string definition of the CRS.", "description": "Creates a coordinate reference system from a string definition. The string can represent an authority ID, a WKT definition, or a PROJ string definition of the CRS.",
"arguments": [{ "arguments": [{
"arg": "definition", "arg": "definition",
"description": "CRS definition" "description": "CRS definition"

View File

@ -2,7 +2,7 @@
"name": "crs_to_authid", "name": "crs_to_authid",
"type": "function", "type": "function",
"groups": ["CRS"], "groups": ["CRS"],
"description": "Returns the authority:id identifier string for a coordinate reference system.", "description": "Returns the authority ID string for a coordinate reference system.",
"arguments": [{ "arguments": [{
"arg": "crs", "arg": "crs",
"description": "crs value" "description": "crs value"