Skip to main content

For Example:- I am trying to count no of features from multiple feature classes. output is just showing count, however output should be feature class name and then count. Any help is appreciated.

In the reader yo need to expose the attribute "fme_feature_type". That one contains the name of the class.


Hi @dixitshreyashi,

As @oscard mentions you need to expose the attribute 'fme_feature_type' on the reader.

If you are after a feature count for each feature class you can use the StatisticsCalculator to do this. Set Group By to 'fme_feature_type' and Attributes to Analyze to 'fme_feature_type' and you're good to go. You can actually set Attributes to Analyze to use any feature attribute, you'll actually get the same result. See screengrab below for suggested settings:

 

Hope this helps.

 

Thanks,

Simon


Reply