I want to convert a raster file (100x100m pixel size) which contains population counts as pixel values. I need a vector based file of the 100x100m grids and the population as attributes.
I tried different conversion methods in QGIS, but there will always be pixels merged together.
Is there a way to create a vector grid and assign the raster values to them?
Best Answer
Yet another option would be SAGA Raster values to points tool (
QGIS Processing Toolbox | SAGA | Vector <-> raster
). Choose[1] cells
as Type option.SAGA - Raster values to points
It was not clear what particular tools you have already tried, but one of them might have been GRASS
r.to.vect
tool (Type: area), which yields something like you have described:GRASS - r.to.vect