Question

Calculate the average of an attribute for several lines within a polygon

  • 13 December 2021
  • 1 reply
  • 1 view

Hi there,

I have many roads (lines) and many areas (polygons) of a city. Within each area there are let's say 20 roads. Each road has a grade based on its condition stored in an attribute. I would like to calculate the average of this grade for all the roads within an area, so that I can compare the average grade for each area in the city.

 

I have not yet found a transformer that can calculate the average in a way like this. Anyone got any idea?

 

Thanks a lot in advance


1 reply

Badge +1

Hello, if you join the lines and areas using a spatial filter, then the statistics calculator can give you the average per group

Reply