QGIS/resources/function_help/json/get_feature_by_id

9 lines
428 B
Plaintext
Raw Normal View History

2017-07-06 19:58:13 +02:00
{
"name": "get_feature_by_id",
"type": "function",
"description": "Returns the feature with an id on a layer.",
"arguments": [ {"arg":"layer","description":"layer, layer name or layer id"},
{"arg":"feature_id","description":"the id of the feature which should be returned"}],
"examples": [ { "expression":"get_feature('streets', 1)", "returns":"the feature with the id 1 on the layer \"streets\""}]
}