0

I am trying to plot a proximity raster for secondary roads in a particular area. What I have is a set of polyline representing the roads. Now, I want to create a proximity raster based on the polyline. First of all I need to create a raster from the polyline which I am perfectly able to. Now, how can I insert burn in value of the pixel to be it's lat and long coordinate?

1
  • I want the proximity raster to display the actual distance in meters/km however qgis always seem to produce a scaled down version. How can I map the scaled version of the distance to actual distance?
    – basic_bgnr
    Commented Jan 18, 2020 at 1:28

1 Answer 1

2

You can create a proximity raster using the Proximity (raster distance) processing tool directly from your rasterized polyline. No need to burn coordinates as new rasters...

However, if your coordinates are lon, lat then your data is in a geographic (lon, lat) CRS and the horizontal units are degrees which are not a good choice for distance measurements.

I suggest reprojecting your polyline to a projected coordinate reference system (CRS) with horizontal units in metres before rasterizing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.