Skip to main content

So I have replaced my FileGDB reader with 2 FeatureReaders (one for spatial, one for non-spatial data)

What I miss now is the "Feature Read Summary" I was used to get from the "real" reader.

Any way to get this summary ?

Hi @mhab

I believe that you can use the transformer Statistic calculator to get the number of features after your Reader.

Thanks,

Danilo


This is a known limitation in FME 2017/2018, there's an idea for improvement here, please consider voting: https://knowledge.safe.com/idea/48251/include-featurewriter-counts-in-the-total-features.html

(Note that the idea concerns both the FeatureReader and the FeatureWriter)


So with the help of StatisticsCalculator, Counter and a TCLCaller I managed to create and write a "Feature Read Summary" of the FeatureReader data into the FME Log file in a way that our automatic statistic extraction works and produces results as it was for a "standard" reader :-))

EDIT: Custom Transformer available through FME Hub (FeatureReadSummary_to_log_writer.fmx)

Screenshot of log file with the generated statistics:


Reply