atlas
atlas copied to clipboard
Relation Covering Method
There is not a method for retrieving relations that contain a given object of any sort. Something similar to atlas.areasCovering() for relations would be of great use. The current alternative involves looping through all relations in an atlas, and is very memory intensive.
That is a great suggestion. This could be implemented by leveraging the other spatial indices to get all non-relation features covered by a bounding box, and then adding their parent relations in a set that would be returned. Thoughts?
Keep me in the loop on this, as the Python Atlas will surely benefit :)
An intriguing idea to use the other spatial indices. I am a little confused as to where the bounding box is coming from, though.