Skip to content

Commit

Permalink
add a 'count features in polygons' like expression
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Nov 19, 2020
1 parent 6b9af14 commit 2f876bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/function_help/json/overlay_contains
Expand Up @@ -47,6 +47,10 @@
"expression": "array_to_string(overlay_contains('regions', name))",
"returns": "a string as a comma separated list of names, for the regions contained in the current feature"
},
{
"expression": "array_length(overlay_contains('regions', name))",
"returns": "the number of regions contained in the current feature"
},
{
"expression": "array_sort(overlay_contains(layer:='regions', expression:=\"name\", filter:= population > 10000))",
"returns": "an ordered array of names, for the regions contained in the current feature and with a population greater than 10000"
Expand Down

0 comments on commit 2f876bc

Please sign in to comment.