I have two shapefiles, one is the squares and other from the buildings on it.
The shapefile of buildings have differents attributes like the state of the building (separated in good state, regular state, bad state).
I want to the get all the attributes from the buildings summarized by square. For example: How many buildings are in good state or bad state per square.
Is there any tool in QGIS that does that?
I tried with spatial join, but did not work.