I am attempting to extract and calculate the average height of buildings using LiDAR converted to raster elevation data. I've created a DSM to cover the entire area and I am trying to extract just the buildings out, I need the average height based upon the DSM elevation pixels. How do I calculate this?

I've attempted clipping these images out according to the polygons (which created thousands of individual rasters) but still I am unsure how to get the average within the bounds of the footprint.

Building with footprint outline and 10cm pixels

  • Assign good ids to polygons, use zonal statistics from spatial analyst
    – FelixIP
    Dec 6 '15 at 23:41
  • @FelixIP, I just ran zonal stats and it worked perfectly. It's strange because I'm positive I tried it before with all different settings and it constantly failed, making me think it was the wrong approach. Thank you! - An aside - how do I verify this as 'answered'? Dec 6 '15 at 23:55
  • Glad it works, forget about it. I am sure there are multiple similar posts on this forum.
    – FelixIP
    Dec 7 '15 at 0:16

As Felix suggested, the Zonal Statistics tool worked. The mistake made before was not using a unique ID for the polygon 'zones'. The output worked well:

enter image description here

  • 1
    +1 For including the picture which shows what can be achieved.
    – David W
    Dec 7 '15 at 14:10
  • +1 for feedback and reply. Legend colours ar no good though
    – FelixIP
    Dec 7 '15 at 22:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.