Skip to main content

Hello, I wished to summarize the length each route type based on the Map_NO. For example, in Map_No 000, it will give me the length of the total of Program #1, Program #2 and Islands & Turning Lanes. My reader is a line feature class, and I also have separate Map Index class. Ideally, I would like to have attributes about distance of each route type for the associated Map No. I have tried the Sampler, StatiscticsCalculator, Aggregator etc and they didn't give the result I wanted. Maybe there is anything setting or other transformers I could try? Thank you.

First use the LengthCalculator to store the length in an attribute LENGTH.

Then use the StatisticsCalculator (group by MAP_NO) attribute to use LENGTH and the SUM output will get you the result.

Hope this helps.


First use the LengthCalculator to store the length in an attribute LENGTH.

Then use the StatisticsCalculator (group by MAP_NO) attribute to use LENGTH and the SUM output will get you the result.

Hope this helps.

It does give me a lump sum of all the line segments within each Map_No, but it didn't break the value into different line types.


It does give me a lump sum of all the line segments within each Map_No, but it didn't break the value into different line types.

Hi @koala18,

Please add ROUTE_TYPE to the Group_By.


Reply