Hi all,
I have successfully created elevation profiles from a raster DEM using lines in 3D Analyst (I'm most interested in the data export, not the graph itself). However, I now need to do the same thing, but instead of taking elevation data from a single line, I need to average it across a swath. Is there a way to do this?
Thanks!
What does the swath data look like? If the spacing between points in the travel direction is equal, then it is fairly easy to do using a combination of arcpy and numpy.
In this example, z values represent values collected at the same collection line with 3 points on the line, sequentially from 03-12. The averages are then calculated using axis averaging.
Swath... | swath average |
---|---|
across swath start end || 0.67 1.67 2.67| | 3.67 4.67 5.67| | 6.67 7.67 8.67| | 9.67 10.67 11.67| | 12.67 13.67 14.67| | 15.67 16.67 17.67| | 18.67 19.67 20.67| | 21.67 22.67 23.67| | 24.67 25.67 26.67| | 27.67 28.67 29.67|| | || 1.67| | 4.67| | 7.67| | 10.67| | 13.67| | 16.67| | 19.67| | 22.67| | 25.67| | 28.67|| |
Thanks Dan,
I only have the data from the original line. Getting the swath data is the problem.
Thanks,
Allie
picture? what does it look like?