Solved

How to get "Feature Read Summary" with FeatureReader ?

  • 25 June 2018
  • 3 replies
  • 10 views

Badge +9
  • Contributor
  • 101 replies

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 ?

icon

Best answer by mhab 29 June 2018, 19:25

View original

3 replies

Userlevel 4
Badge +30

Hi @mhab

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

Thanks,

Danilo

Userlevel 4

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)

Badge +9

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