I have a polygon and a point layer. The polygons contains buildings, the points should be the edges of the buildings. A building is "good" as much as points are touching or in the near (buffer 0.2 meter) of the building. There are no other references between the layers.
I need the number of touching or intersecting points and points within a near of 20cm. With that result I'm able to say, which building have got the best quality...
The result could be written into a virtual field of the building-polygon.
I know, SQL could do the thing easily. But I need a QGIS (aggregate?) way because the input data will be provided as shapefile or GeoJSON.