# Distance from rivers, taking into account terrain elevation

I am interested in building a raster of the distance from rivers in a territory under study. I have digitized the course of the rivers in ArcGis 10.1. I have used the 'Euclidean Distance' tool to create a raster of the distance from rivers. Now, since we are moving in a 3D world, not in a 2D one, I would like to 'weight' the calculated distances in order to take the elevation into account.

So, I would like to know how can I create a raster depicting the distance of any point from rivers, also taking into account the elevation variable.

• Maybe the additional distance from elevation change could be added in as a cost raster, then you'd need to sum the cost along a straight line distance for a given point and add that value to the regular Euclidean distance? Jul 13, 2014 at 22:20
• Are you trying to determine the flow distance to the nearest river based on flow direction? Or the straight-line distance that accounts for slope? Jul 14, 2014 at 0:44
• @dmarh: I would like to use the distance-to-river raster as one of the independent variables of a Logistic regression model Jul 14, 2014 at 9:30
• @Erica: I do not follow you. My bad :-( Jul 14, 2014 at 9:30