Hello! I need to get a sum of some features. Please have a look at the picture, it is maybe easier to understand what I need.
I need to get a sum of these houses therea are in the different parts of city. The problem is that the name and amount of streets are allways different. I do not know how to automate it.. Any ideas?
Best answer by rileym
Hi @tereziastredna
Have a look at the documentation for the Aggregator and StatisticsCalculator transformers.Both allow you to specify a 'Group By' attribute and can sum the values of the attribute you group by.
In this case I'd recommend Aggregator to sum the values of your left/right hand values to street level. You could then place another Aggregator to sum the values of streets to neighbourhoods.
Have a look at the documentation for the Aggregator and StatisticsCalculator transformers.Both allow you to specify a 'Group By' attribute and can sum the values of the attribute you group by.
In this case I'd recommend Aggregator to sum the values of your left/right hand values to street level. You could then place another Aggregator to sum the values of streets to neighbourhoods.
@tereziastredna How do you know when you're in a new part of the city, i.e. when part 1 ends and part 2 starts? Is it always two streets?
Hi, I have different shape files, and there it is specified which part of city contains which street etc. That is why it is always different, and I need to have it automated. Not only for streets A,B,C or D...
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.