mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix expression function examples
This commit is contained in:
parent
5fa9e2f02e
commit
5a088bfa2b
@ -3,6 +3,6 @@
|
||||
"type": "function",
|
||||
"description": "Returns the name of a file (including the file extension), excluding the directory.",
|
||||
"arguments": [ {"arg":"path","description":"a file path"}],
|
||||
"examples": [ { "expression":"base_file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'country_boundaries.shp'"}]
|
||||
"examples": [ { "expression":"file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'country_boundaries.shp'"}]
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
"type": "function",
|
||||
"description": "Returns the directory component of a file path. This does not include the file name.",
|
||||
"arguments": [ {"arg":"path","description":"a file path"}],
|
||||
"examples": [ { "expression":"base_file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'/home/qgis/data'"}]
|
||||
"examples": [ { "expression":"file_path('/home/qgis/data/country_boundaries.shp')", "returns":"'/home/qgis/data'"}]
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
"type": "function",
|
||||
"description": "Returns the file suffix (extension) from a file path.",
|
||||
"arguments": [ {"arg":"path","description":"a file path"}],
|
||||
"examples": [ { "expression":"base_file_name('/home/qgis/data/country_boundaries.shp')", "returns":"'shp'"}]
|
||||
"examples": [ { "expression":"file_suffix('/home/qgis/data/country_boundaries.shp')", "returns":"'shp'"}]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user