You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2282,7 +2283,7 @@ Tests whether a geometry overlaps another. Returns TRUE if the geometries share
2282
2283
overlay_contains
2283
2284
................
2284
2285
2285
-
Returns whether the current feature spatially contains at least one feature from a target layer, or an array of expression-based results for the features in the target layer contained in the current feature.
2286
+
Returns whether the current feature spatially contains at least one feature from a target layer, or returns an array of expression-based results for the features in the target layer contained in the current feature.
2286
2287
2287
2288
2288
2289
@@ -2317,7 +2318,7 @@ Read more on the underlying GEOS "Contains" predicate, as described in PostGIS `
2317
2318
overlay_crosses
2318
2319
...............
2319
2320
2320
-
Returns whether the current feature spatially crosses at least one feature from a target layer, or an array of expression-based results for the features in the target layer crossed by the current feature.
2321
+
Returns whether the current feature spatially crosses at least one feature from a target layer, or returns an array of expression-based results for the features in the target layer crossed by the current feature.
2321
2322
2322
2323
2323
2324
@@ -2352,7 +2353,7 @@ Read more on the underlying GEOS "Crosses" predicate, as described in PostGIS `S
2352
2353
overlay_disjoint
2353
2354
................
2354
2355
2355
-
Returns whether the current feature is spatially disjoint from all the features of a target layer, or an array of expression-based results for the features in the target layer that are disjoint from the current feature.
2356
+
Returns whether the current feature is spatially disjoint from all the features of a target layer, or returns an array of expression-based results for the features in the target layer that are disjoint from the current feature.
2356
2357
2357
2358
2358
2359
@@ -2387,7 +2388,7 @@ Read more on the underlying GEOS "Disjoint" predicate, as described in PostGIS `
2387
2388
overlay_equals
2388
2389
..............
2389
2390
2390
-
Returns whether the current featureis exactly equal to at least one featurefrom a target layer, or an array of expression-based results for the features in the target layer that are exactly equal to the current feature. Note that the order of vertices matters.
2391
+
Returns whether the current feature's geometry is exactly equal to at least one feature's geometry from a target layer, or returns an array of expression-based results for the features in the target layer whose geometry is exactly equal to the current feature's geometry. Note that the order of vertices matters.
2391
2392
2392
2393
.. list-table::
2393
2394
:widths: 15 85
@@ -2403,13 +2404,15 @@ Returns whether the current feature is exactly equal to at least one feature fro
2403
2404
* **limit** - an optional integer to limit the number of matching features. If not set, all the matching features will be returned.
2404
2405
* **cache** - set this to true to build a local spatial index (most of the time, this is unwanted, unless you are working with a particularly slow data provider)
2405
2406
* - Examples
2406
-
- * ``overlay_equals('regions')`` → TRUE if the current featureis exactly equal to a region
2407
-
* ``overlay_equals('regions', filter:= population > 10000)`` → TRUE if the current featureis exactly equal to a region with a population greater than 10000
2407
+
- * ``overlay_equals('regions')`` → TRUE if the current feature's geometry is exactly the same as the geometry of a region
2408
+
* ``overlay_equals('regions', filter:= population > 10000)`` → TRUE if the current feature's geometry is exactly the same as the geometry of a region whose population is greater than 10000
2408
2409
* ``overlay_equals('regions', name)`` → an array of names, for the regions exactly equal to the current feature
2409
2410
* ``array_to_string(overlay_equals('regions', name))`` → a string as a comma separated list of names, for the regions exactly equal to the current feature
2410
2411
* ``array_sort(overlay_equals(layer:='regions', expression:="name", filter:= population > 10000))`` → an ordered array of names, for the regions exactly equal to the current feature and with a population greater than 10000
2411
2412
* ``overlay_equals(layer:='regions', expression:= geom_to_wkt(@geometry), limit:=2)`` → an array of geometries (in WKT), for up to two regions exactly equal to the current feature
2412
2413
2414
+
.. note:: This function requires exact equality of geometries, meaning that the geometries 'LINESTRING( 0 0, 1 1 )' and 'LINESTRING( 1 1, 0 0 )' are different.
2415
+
2413
2416
2414
2417
.. end_overlay_equals_section
2415
2418
@@ -2418,7 +2421,7 @@ Returns whether the current feature is exactly equal to at least one feature fro
2418
2421
overlay_intersects
2419
2422
..................
2420
2423
2421
-
Returns whether the current feature spatially intersects at least one feature from a target layer, or an array of expression-based results for the features in the target layer intersected by the current feature.
2424
+
Returns whether the current feature spatially intersects at least one feature from a target layer, or returns an array of expression-based results for the features in the target layer intersected by the current feature.
2422
2425
2423
2426
2424
2427
@@ -2468,7 +2471,7 @@ Read more on the underlying GEOS "Intersects" predicate, as described in PostGIS
2468
2471
overlay_nearest
2469
2472
...............
2470
2473
2471
-
Returns whether the current feature has feature(s) from a target layer within a given distance, or an array of expression-based results for the features in the target layer within a distance from the current feature.
2474
+
Returns whether the current feature has feature(s) from a target layer within a given distance, or returns an array of expression-based results for the features in the target layer within a distance from the current feature.
2472
2475
2473
2476
2474
2477
@@ -2505,7 +2508,7 @@ Note: This function can be slow and consume a lot of memory for large layers.
2505
2508
overlay_touches
2506
2509
...............
2507
2510
2508
-
Returns whether the current feature spatially touches at least one feature from a target layer, or an array of expression-based results for the features in the target layer touched by the current feature.
2511
+
Returns whether the current feature spatially touches at least one feature from a target layer, or returns an array of expression-based results for the features in the target layer touched by the current feature.
0 commit comments