Skip to content
Permalink
Browse files

add a 'count features in polygons' like expression

  • Loading branch information
DelazJ committed Nov 19, 2020
1 parent 6b9af14 commit 2f876bca75248bf042d5e748c327bc4e275599b8
Showing with 4 additions and 0 deletions.
  1. +4 −0 resources/function_help/json/overlay_contains
@@ -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"

0 comments on commit 2f876bc

Please sign in to comment.
You can’t perform that action at this time.