Skip to content

Commit 066528d

Browse files
committedJul 7, 2017
get_feature_by_id docs
1 parent f379be2 commit 066528d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "get_feature_by_id",
3+
"type": "function",
4+
"description": "Returns the feature with an id on a layer.",
5+
"arguments": [ {"arg":"layer","description":"layer, layer name or layer id"},
6+
{"arg":"feature_id","description":"the id of the feature which should be returned"}],
7+
"examples": [ { "expression":"get_feature('streets', 1)", "returns":"the feature with the id 1 on the layer \"streets\""}]
8+
}

0 commit comments

Comments
 (0)
Please sign in to comment.