Hi,
I need to vallidate SHP (or DWG blocks with attributes) attribute value against Field Data Type and Domains specified in template GDB or XML Workspace Document.
Reader: ESRI SHP
Writer: ESRI GDB
ISSUE: If the SHP attribute value doesn't match with GDB Field Data Type, the translation fails.
I need to validate those values and write the fails.
I wanted to use 'AttributeValidator' but the Validation Rules must be specified manually.
Is there any way how to read the Validation Rules from the template (GDB or XML Workspace Document) and write them automatically?
EXAMPLE:
Reader SHP feature 'PIPE' has got field 'MATERIAL' with attribute value 'UPVC'.
Writer GDB feature 'PIPE' has got field 'MATERIAL' with specified domain values: 'PVC-U, HDPE, PE'
There is no match so the translation fails
Thanks.