mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Function help improvements
This commit is contained in:
parent
65e60d17aa
commit
d3a1285f63
@ -5,8 +5,8 @@
|
||||
"arguments": [ {"arg":"layer","description":"The layer for which the uri should be decoded."},
|
||||
{"arg":"part","description":"The part of the uri to return. If unspecified, a map with all uri parts will be returned."} ],
|
||||
"examples": [ { "expression":"decode_uri(@layer)", "returns":"{'layerId': '0', 'layerName': '', 'path': '/home/qgis/shapefile.shp'}"},
|
||||
{ "expression":"decode_uri(@layer)", "returns":"{'layerId': NULL, 'layerName': 'layer', 'path': '/home/qgis/geopackage.shp'}"},
|
||||
{ "expression":"decode_uri(@layer), 'path'", "returns":"'/home/qgis/geopackage.shp'"}
|
||||
{ "expression":"decode_uri(@layer)", "returns":"{'layerId': NULL, 'layerName': 'layer', 'path': '/home/qgis/geopackage.gpkg'}"},
|
||||
{ "expression":"decode_uri(@layer), 'path'", "returns":"'C:\my_data\qgis\shape.shp'"}
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user