Skip to content

Commit

Permalink
get_feature_by_id docs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 7, 2017
1 parent f379be2 commit 066528d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions resources/function_help/json/get_feature_by_id
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"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\""}]
}

0 comments on commit 066528d

Please sign in to comment.