Skip to main content
Open

Custom error text in AttributeValidator

Related products:Transformers
  • February 24, 2016
  • 6 replies
  • 30 views

Forum|alt.badge.img+1

Add an additional column to enter an error text or concatenated text in the AttributeValidator would be cool...

6 replies

djmcdermott
Contributor
Forum|alt.badge.img+7
  • Contributor
  • March 10, 2016

I have started looking at the Attribute Validator following the How to Optimize GIS Workflows webinar. I agree that an additional column to provide custom error messages/codes would be very useful. It would allow me to use a TestFilter to split the errors into separate workflows.

Additionally, it could have the option to expose the validation as separate output....


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • March 13, 2016

We intend to do another round on the validation messages in the near future. Good idea.


  • May 19, 2016

List concatenator works real well. Use an attribute validator for each attribute linked to a list concatenator with a unique output attribute for each.

Have found you need to run attribute validators in parallel as strange things happen when they are run in series


tim_wood
Contributor
Forum|alt.badge.img+8
  • Contributor
  • January 6, 2017

I think I'd find this useful too.

I'd also be interested to know if AttributeValidator can do a test only for features that have a value. An Excel sheet I'm reading doesn't have values in all rows for some columns, but where it does have values, they must be integers. I'm using AttributeValidator to test Type is INT but rows where the value is missing are output through the Failed port. I don't want to give these rows a value of 0 before the AttributeValidator. I also know that I can use the Tester to filter what goes to the AttributeValidator but that makes using the AttributeValidator redundant - I might as well just use Tester with an AttributeCreator for my custom error message.


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • January 6, 2017
Very good observation about missing attribute handling. We'll give this some thought...

tim_wood
Contributor
Forum|alt.badge.img+8
  • Contributor
  • January 9, 2017
For info, I tried editing the Excel Reader parameters to read blank cells as null instead of missing but the AttibuteValidator outcome is the same as for missing.