Overlay intersects sort by intersection size - #46683
Merged
elpaso merged 11 commits intoJan 13, 2022
Merged
Conversation
elpaso
force-pushed
the
overlay_intersects_sort_by_intersection_size
branch
from
January 3, 2022 15:01
c23632c to
68a5375
Compare
elpaso
force-pushed
the
overlay_intersects_sort_by_intersection_size
branch
from
January 3, 2022 15:09
68a5375 to
4449598
Compare
nicogodet
reviewed
Jan 3, 2022
DelazJ
reviewed
Jan 3, 2022
Co-authored-by: nicogodet <39594821+nicogodet@users.noreply.github.com>
nyalldawson
reviewed
Jan 6, 2022
DelazJ
reviewed
Jan 6, 2022
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
nyalldawson
reviewed
Jan 7, 2022
DelazJ
reviewed
Jan 7, 2022
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
Contributor
Author
|
Any objection to merge? |
DelazJ
added a commit
to DelazJ/QGIS-Documentation
that referenced
this pull request
Feb 2, 2022
- add negative index to array_remove_at (qgis/QGIS#46942) - add new parameters to overlay_intersects (qgis/QGIS#46683)
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
overlay_intersects further enhancements
This PR adds two new optional arguments to the existing function:
return_details: only valid when used with an expression, set this to true to return a list of maps containing (key names in quotes) the feature 'id', the expression 'result' and the 'overlap' value, the 'radius' of the maximum inscribed circle is also returned when the target layer is a polygon.sort_by_intersection_size: only valid when used with an expression, set this to true to return the results ordered by the overlap value in descending order.This is the new documentation:
