2017-07-06 19:58:13 +02:00
|
|
|
{
|
|
|
|
"name": "get_feature_by_id",
|
|
|
|
"type": "function",
|
2020-07-02 01:46:48 +01:00
|
|
|
"groups": ["Record and Attributes"],
|
2017-07-06 19:58:13 +02:00
|
|
|
"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"}],
|
2020-11-14 09:01:17 +01:00
|
|
|
"examples": [ { "expression":"get_feature_by_id('streets', 1)", "returns":"the feature with the id 1 on the layer \"streets\""}]
|
2017-07-06 19:58:13 +02:00
|
|
|
}
|