I've a raster dataset of 20m² cells that show if a cell has been deforested and the year. I need to calculate the distance of each cell from a conservation project boundary, roads, canals (which are vector layers) and assign slope from a DEM to each cell. I will then export this data and use it in a regression in R. I may need to match cells with similar attributes either side of the boundary too.
To do this, is it best to convert the raster dataset into vector? I am using QGIS and am trying to convert the raster to vector but I'm not sure how to do it or if it's necessary.
I since realised the polygonize tool wasn't showing up for me due to an issue with one of the plugins but am still unsure if I should be converting the data to vector.