I have point data in a shapefile covering most of Africa. I've made 0.1x0.1 grids using the
make grid option from QGIS and now I want to link the grid_id to my point data. Below you will find a picture of all my data points an the grid and a zoom in where the grids can be distinguished from each other - I want every point to get assigned a grid_id number base don which grid they are located in.
I've tried using
join attributes by location, where my input layer was the point file and my join layer was the grids I've just made. I've experimented with other geometric predicates, but I would think I need to use the
within option. However, when I run the program, he does not match any of the grid ids to my point data.
I've also tried using the MMQGIS
spatial join option, but this won't allow me to select a spatial operation once I've selected the layers I want to combine.
Does anyone have any suggestions on how to link a grid_id to point data?