Double stream width?

Discussion created by sanderfox on Oct 27, 2011
Latest reply on Oct 27, 2011 by sanderfox

I have calculated possible stream/river locations from a DEM. The streams are 1 pixel wide. My problem is as follows. I'm trying to do a Least Cost Path analysis on the area in question and have created a cost surface that takes into account that I don't want LCP to move over the streams (currently by setting the streams to NODATA). However, since the streams are only 1 pixel wide, the LCPs just go through them diagonally (see the attached screenshot).

Is there a way to fix this? I thought about making the streams 2 pixels wide, to make it impossible to pass through them, but haven't been able to find a suiting method of doing this. I want the LCPs to avoid the streams at all cost. Not sure how the top paths to the target will be created, but that's the idea. Does anyone have an idea how to solve my problem? Any advice is much appreciated!

All the best,