Skip to main content

As a part of a study project, two different data sets are to be compared (official data and free data). The comparison is modeled successfully (see image below).

In addition, I would like to produce an overview that shows me which categories of a data set are in the wrong category of the other data set >> like a advanced Confusion Matrix.

For this I use currently the StatisticsCalculator, which gives me the name and the feature count of the "wrong" categories. I would like to expand this list attributes by the total amount of the area (sum(area_category[i]).

The result, a list with the contents .name, .count and .areaSum should be to output as XML file.

I do not get these two steps modeled without further help.
Are there any suggestions?

 



Thanks in advance
Greetings from Mainz (Germany)
It's hard to think of a solution unless you clarify how the StatisticsCalculator parameters are configured, what structure of the list is, and what desired destination XML schema is.

 


I´ve solved the issue. Works perfectly with group by parameter.

 

Thanks to Nathan from FME!

 

 


Hi @plassb, thanks for your question and for visiting us on live chat.

 

After our discussion, we came to the conclusion that the StatisticsCalculator was not giving the expected summed area per feature type, but rather a summed area per entire set of features. Using fme_feature_type in the 'Group By' parameter solved the problem, giving statistics calculated per feature type.

 

@plassb, please don't hesitate to follow up with some sample data and expected output if you run into problems when writing to XML.

 

Best,

 

Nathan

Reply