Skip to content
Prev 26571 / 29559 Next

polygon over or intersect with more than 2 files/layers

On Thu, 31 May 2018, Bannar-Martin, Katherine wrote:

            
Why would you think it might, given that the help page only shows pairs of 
objects? The underlying code in GEOS is for binary operations. GRASS also 
handles binary overlay, and the same applies to PostGIS.

It might be possible to work out intersection candidates by building trees 
of envelopes and querying multiple layers based on non-zero envelope 
intersection, but
No, a "shapefile" has one layer only, unless you want a folder with 
multiple shapefiles. GPKG can take multiple layers, but it isn't obvious 
why this would help.
Obviously. If you have to have vector, you have to do this pairwise. If 
raster is an option, probably there are many more possibilities; GRASS 
r.cross takes multiple raster layers for example.
... and code contributions ??

Roger