Skip to main content
Question

FeatureWriter number of features written incorrect?

  • November 30, 2017
  • 6 replies
  • 60 views

ekkischeffler
Contributor
Forum|alt.badge.img+5

I'm using a FeatureWriter with its output attribute "_total_features_written". The attribute holds "_total_features_written"=1 while the log says:

Features Written

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

==============================================================================

Total Features Written 0

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Features With No Schema defined

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

NoFeaturesTester_5_Creator 1

==============================================================================

Total Features NOT Written 1

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Has anyone experienced this before? Seems like a bug. This is using FME 2017 build 17259.

6 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • November 30, 2017

Hi @ekkischeffler, yes, it's a known issue, and has been discussed here.

How to count FeatureWriter transformer's output into "Feature Written Summary" of the log?

We have to wait for a relevant enhancement.


ekkischeffler
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • November 30, 2017
takashi wrote:

Hi @ekkischeffler, yes, it's a known issue, and has been discussed here.

How to count FeatureWriter transformer's output into "Feature Written Summary" of the log?

We have to wait for a relevant enhancement.

Thanks for referencing this Takashi. In my case, however, the writer did indeed write nothing while the attribute contained '1'. So, I think the attribute value is incorrect rather than the log.

 

 


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • November 30, 2017

I was able to reproduce that. I think it's also an issue that should be improved.

featurewriter-total-features-written.fmw (FME 2017.1.1.1)

Could you please check this? @daleatsafe

  • Total Features Written = 0
  • Total Features NOT Written = 1
  • _total_features_written (Summary feature) = 1 (incorrect)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                               Features Written
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
==============================================================================
Total Features Written                                                       0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       Features With No Schema defined
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Creator                                                                      1
==============================================================================
Total Features NOT Written                                                   1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Storing feature(s) to FME feature store file `.\mapping_log.ffs'
FeatureWriter_Summary: Feature is:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Feature Type: `FeatureWriter_Summary_LOGGED'
Attribute(string)                 : `_dataset' has value `C:\FME\tmp'
Attribute(32 bit unsigned integer): `_feature_type{0}.count' has value `1'
Attribute(string)                 : `_feature_type{0}.name' has value `Creator'
Attribute(32 bit unsigned integer): `_total_features_written' has value `1'
Attribute(string)                 : `fme_geometry' has value `fme_undefined'
Attribute(string)                 : `fme_type' has value `fme_no_geom'
Geometry Type: Unknown (0)
===========================================================================

 


ekkischeffler
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • November 30, 2017
takashi wrote:

I was able to reproduce that. I think it's also an issue that should be improved.

featurewriter-total-features-written.fmw (FME 2017.1.1.1)

Could you please check this? @daleatsafe

  • Total Features Written = 0
  • Total Features NOT Written = 1
  • _total_features_written (Summary feature) = 1 (incorrect)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                               Features Written
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
==============================================================================
Total Features Written                                                       0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       Features With No Schema defined
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Creator                                                                      1
==============================================================================
Total Features NOT Written                                                   1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Storing feature(s) to FME feature store file `.\mapping_log.ffs'
FeatureWriter_Summary: Feature is:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Feature Type: `FeatureWriter_Summary_LOGGED'
Attribute(string)                 : `_dataset' has value `C:\FME\tmp'
Attribute(32 bit unsigned integer): `_feature_type{0}.count' has value `1'
Attribute(string)                 : `_feature_type{0}.name' has value `Creator'
Attribute(32 bit unsigned integer): `_total_features_written' has value `1'
Attribute(string)                 : `fme_geometry' has value `fme_undefined'
Attribute(string)                 : `fme_type' has value `fme_no_geom'
Geometry Type: Unknown (0)
===========================================================================

 

Thanks for clarifying, Takashi!

 

 


Forum|alt.badge.img+6
takashi wrote:

I was able to reproduce that. I think it's also an issue that should be improved.

featurewriter-total-features-written.fmw (FME 2017.1.1.1)

Could you please check this? @daleatsafe

  • Total Features Written = 0
  • Total Features NOT Written = 1
  • _total_features_written (Summary feature) = 1 (incorrect)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                               Features Written
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
==============================================================================
Total Features Written                                                       0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       Features With No Schema defined
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Creator                                                                      1
==============================================================================
Total Features NOT Written                                                   1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Storing feature(s) to FME feature store file `.\mapping_log.ffs'
FeatureWriter_Summary: Feature is:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Feature Type: `FeatureWriter_Summary_LOGGED'
Attribute(string)                 : `_dataset' has value `C:\FME\tmp'
Attribute(32 bit unsigned integer): `_feature_type{0}.count' has value `1'
Attribute(string)                 : `_feature_type{0}.name' has value `Creator'
Attribute(32 bit unsigned integer): `_total_features_written' has value `1'
Attribute(string)                 : `fme_geometry' has value `fme_undefined'
Attribute(string)                 : `fme_type' has value `fme_no_geom'
Geometry Type: Unknown (0)
===========================================================================

 

Hi @takashi and @ekkischeffler,

 

 

I'm sorry that you have run into this issue. This is an issue that is currently being investigated by development; I will be sure to update this thread once the fix has been released. 

 

 

Kind Regards, 

 

 

Annabelle

  • December 10, 2019
takashi wrote:

I was able to reproduce that. I think it's also an issue that should be improved.

featurewriter-total-features-written.fmw (FME 2017.1.1.1)

Could you please check this? @daleatsafe

  • Total Features Written = 0
  • Total Features NOT Written = 1
  • _total_features_written (Summary feature) = 1 (incorrect)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                               Features Written
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
==============================================================================
Total Features Written                                                       0
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       Features With No Schema defined
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Creator                                                                      1
==============================================================================
Total Features NOT Written                                                   1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Storing feature(s) to FME feature store file `.\mapping_log.ffs'
FeatureWriter_Summary: Feature is:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Feature Type: `FeatureWriter_Summary_LOGGED'
Attribute(string)                 : `_dataset' has value `C:\FME\tmp'
Attribute(32 bit unsigned integer): `_feature_type{0}.count' has value `1'
Attribute(string)                 : `_feature_type{0}.name' has value `Creator'
Attribute(32 bit unsigned integer): `_total_features_written' has value `1'
Attribute(string)                 : `fme_geometry' has value `fme_undefined'
Attribute(string)                 : `fme_type' has value `fme_no_geom'
Geometry Type: Unknown (0)
===========================================================================

 

@annabelleatsafe any update on this? I'm currently working on v2019.0.2 and I'm facing the same issue in both FME Desktop and FME Server. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings