Skip to main content
Solved

How to get "Feature Read Summary" with FeatureReader ?

  • June 25, 2018
  • 3 replies
  • 130 views

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 106 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 ?

Best answer by mhab

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:

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2076 replies
  • June 25, 2018

Hi @mhab

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

Thanks,

Danilo


david_r
Celebrity
  • 8391 replies
  • June 26, 2018

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)


mhab
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • 106 replies
  • Best Answer
  • June 29, 2018

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: