Skip to main content
edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Source Link
Maarten
  • 307
  • 2
  • 9

Zonal statistics on raster layers that intersect line

I have a line feature class of routes and a raster file with 12 unique values. I want to know how much cells of each value in the raster has that intersect with lines.

I've tried zonal statistics (as table) but the result is the opposite, I get the mean value of the raster file within each line. My needed output however is a table with in the first collumn the raster values 1 to 12 and in the second column the total area of that value that intersects with lines.

Is there any function that does this for lines in ArcGIS Pro?