mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[refFunctions] (initial help text)
This commit is contained in:
parent
86deebd07c
commit
d4f8e2c21f
32
resources/function_help/json/geometry_overlay_contains
Normal file
32
resources/function_help/json/geometry_overlay_contains
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "geometry_overlay_contains",
|
||||
"type": "function",
|
||||
"description": "Performs a spatial join of type CONTAINS. This returns an array of results of an expression evaluated on features from an other layer that CONTAIN the current feature.",
|
||||
"arguments": [
|
||||
{
|
||||
"arg": "layer",
|
||||
"description": "the other layer"
|
||||
},
|
||||
{
|
||||
"arg": "expression",
|
||||
"description": "an optional expression to evaluate on the features from the other layer (if not set, the function will just return a boolean indicating whether there is at least one match)",
|
||||
"optional": true
|
||||
},
|
||||
{
|
||||
"arg": "filter",
|
||||
"description": "an optional expression to filter the matching features (if not set, all features will be returned)",
|
||||
"optional": true
|
||||
},
|
||||
{
|
||||
"arg": "limit",
|
||||
"description": "an optional integer to limit the number of matching features (if not set, all features will be returned)",
|
||||
"optional": true
|
||||
}
|
||||
],
|
||||
"examples": [
|
||||
{
|
||||
"expression": "geometry_overlay_contains('regions', name)",
|
||||
"returns": "['South Africa', 'Africa', 'World']"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user