I have a set of polygons (buildings) and points that I'd like to spatially join. Unfortunately, some of these points are positioned outside the polygon because all points are positioned on the centroid of each building and sometimes when a building is shaped like an L, for example, the point feature isn't placed inside the polygon.
Now I'd like to preferably use QGIS to move the points that are outside polygons to be situated inside the nearest polygon.
I've tried the Snap Geometries to Layer function but the points sometimes end up on a node which is a corner node of more than one building.
Any ideas?
Grey buildings are the ones where the point is positioned outside the building boundaries and therefore can't be joined.
"ID"
s in common exist between building and points? If, not then is there any logic where exactly inside a polygon a point must be placed? Or it just has to be inside and does not matter where exactly?