I'm using QGIS 2.18.3 (Las Palmas). In order to determine the number of buildings within a district I'm using spatial Query in QGIS. I filter out the specific district within my city-layer so I can apply the spatial query to it. I then go into the attribute Table of my building-layer and input the district for the labelled buildings.
Is there a possibility to automate this process? Does spatial query have a batch-possibility?