I’m writing my masters thesis and came across a problem I haven’t been able to find an answer to.
I’m working with QGIS and a Spatial Line Shapefile that represents all streets in Tibet, taken from Open Street Map. What I want to do is create a (raster?) file of Tibet from it with a resolution of, for example 1x1 m, that represents the distance of that 1x1 m area to the closest street. My endgoal is to calculate a correlation of the distance to the closest road with NDVI data that indicates the health of vegetation.
I was thinking about applying buffers to the lines but then I would have to have the buffers clip so that the border is at the exactle middle distance between the lines and it wouldn't show the distance along the buffer as far as I know.
Unfortunately I am at a loss of how to do this. I am also working with R. I don't know if it might be more useful for my problem.