Hi folks,
I need to determine uphill or downhill areas along a road section on a raster map. I know MapCal program can do this but it only accepts maps in 100x100 pixels but my study area is too big to run this program (1500 x 1500). I was wondering if there is a way to do this in ArcGIS.
Thanks in advance.
-Mike
Hmmm. You and I are in two cars traveling towards each other on the same road and we are in an area that is hilly. Which one of us is going down hill and which one of us is going uphill? My point is for every uphill lane typically there is a corresponding down hill lane, unless we are talking about a very well divided highway, or extra climbing lanes right?
What is your objective here?
Here's one way (I spend 99% in the vector world, so there's probably a raster way that I don't know about):
1.) Make a raster that filters out everything > 200m from any road (Euclidean Distance, max. distance = 200)
2.) Convert that raster to points (Raster to Point). There will be a point for every cell < 200m from a road.
3.) Convert your roads to a raster (Polyline to Raster)
4.) Convert the roads raster to points (Raster to Point). There will be a string of points running down the roads.
5.) Assign elevation from your DEM to each distance point (Extract Values to Points)
6.) Assign elevation from your DEM to each road point (Extract Values to Points)
7.) Associate each distance point, with elevation, to the nearest road point, with elevation (Spatial Join)
8.) Calculate the elevation difference between each point and the nearest point on the road (Calculate Field)
9.) Delete any points < 100m from the road and a negative elevation.
10.) Convert those points back to a raster (Point to Raster)
Here's one way (I spend 99% in the vector world, so there's probably a raster way that I don't know about):
1.) Make a raster that filters out everything > 200m from any road (Euclidean Distance, max. distance = 200)
2.) Convert that raster to points (Raster to Point). There will be a point for every cell < 200m from a road.
3.) Convert your roads to a raster (Polyline to Raster)
4.) Convert the roads raster to points (Raster to Point). There will be a string of points running down the roads.
5.) Assign elevation from your DEM to each distance point (Extract Values to Points)
6.) Assign elevation from your DEM to each road point (Extract Values to Points)
7.) Associate each distance point, with elevation, to the nearest road point, with elevation (Spatial Join)
8.) Calculate the elevation difference between each point and the nearest point on the road (Calculate Field)
9.) Delete any points < 100m from the road and a negative elevation.
10.) Convert those points back to a raster (Point to Raster)