Skip to main content
Question

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

  • December 13, 2021
  • 1 reply
  • 24 views

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

owen
Forum|alt.badge.img+1
  • December 13, 2021

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings