Skip to main content

It might be useful if every writer feature type and the FeatureWriter would have <Rejected> port and Filter tab.

<Rejected> port: Outputs features that have been rejected by the writer. e.g. features which have null or missing attributes for non-nullable fields in the destination feature type, features which have an invalid geometry against allowable geometry type or structure in the destination feature type, etc.

Filter tab: Optionally the user can specify a condition to filter features that should be written into the destination feature type, like the Tester transformer. When a condition is specified in this tab, features that do not match the condition will be output via the <Rejected> port.

Expected Advantage:

  • Allow the user to collect rejected features and create a report about them as another output dataset.
  • Make it easier to investigate the reason for the rejection in conjunction with the Inspector.
  • A Tester may be removed from the workspace for a simple data extraction and loading.

I certainly like the idea, even if it might only work with a few writers


Very usefull


Definetely agreed! I have a workspace that is writing to 2 different outputs. One of them is using a FeatureWriter to send the report as an attachment to the email notification mentionning "success". The other (the main output) is a fixed writer for now. If the fixed writer fails, I am getting a "failure" e-mail but I am still getting the "success" email from the FeatureWriter output because that part doesn't fail...


I think it is an excellent idea, being able to handle error conditions more gracefully would be very ideal.

 

Note: I missed the upvote button, and don't seem to be able to undo my vote.......


A must have, imho.

I spoiled most of the day wondering were my 250 features went when writing to KMZ (OGCKML writer). This writer automatically reprojects to WGS84. However, if you don't have a coordinate system set on a feature, you do not get any feedback from the writer that the feature could not be written (and why...).

 

I also upvoted a similar idea: https://community.safe.com/s/idea/0874Q000000TkwiQAC/detail


Updated idea statusGathering InterestArchived
Idea merged into:

All the votes from this idea have been transferred.