How to create elevation profile from swath (not just line)

2931
3
01-24-2016 01:14 AM
AlexanderShenkin
New Contributor

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!

0 Kudos
3 Replies
DanPatterson_Retired
MVP Emeritus

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||
0 Kudos
AlexanderShenkin
New Contributor

Thanks Dan,

I only have the data from the original line.  Getting the swath data is the problem.

Thanks,

Allie

0 Kudos
DanPatterson_Retired
MVP Emeritus

picture? what does it look like?

0 Kudos