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?

  • 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 Jan 18 at 1:28
  • Thanks, I got it. – basic_bgnr Jan 18 at 8:20
  • I've added as an answer. – user2856 Jan 18 at 8:39
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, privacy policy and cookie policy

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