We have created a custom transformer that performs a pair association to base input points, within a distance tolerance specified in a published parameter.
It's not too complex - makes use of attribute exposer, reprojectors, concatenators and neighbour (pair) finders.
The output pair names are published parameters that are the datatype of the base points, concatenated with "1" and "2".
eg
OBS_CODE1
OBS_CODE2
When we run the workspace, as it processes the base features it seems to want to convert one of the string values into a float/integer.
The value it is trying to convert (CONTENTID) is Data Type 'char'. There is no need to convert the value because they are all alphanumeric values. I have a feeling that the problem lies in the concatenating of the CONTENTID to create the output pair names, but I'm not sure.
Any ideas why it is attempting this unnecesssary conversion?
This workspace is processing ~50 000 features and the logger throws up multiple error messages for each feature:
2013-03-15 09:40:19|1995.5| 0.0|STATS |DataAssociationPair_4_NeighborPairFinder_2_FirstProx(ProximityFactory): Output Summary: 52717 matched feature(s), 16385 unmatched base feature(s) 2013-03-15 09:40:19|1995.5| 0.0|INFORM|Processing base feature(s)... 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into a float (.\\stfutil.cpp:405) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into a float (.\\stfutil.cpp:405) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into a float (.\\stfutil.cpp:405) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into a float (.\\stfutil.cpp:405) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into a float (.\\stfutil.cpp:405) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into a float (.\\stfutil.cpp:405) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into a float (.\\stfutil.cpp:405) 2013-03-15 09:40:19|1995.5| 0.0|ERROR |BADNEWS: String value `KMCO' contains invalid characters and could not be converted into an integer (.\\stfutil.cpp:816)
Thanks for any suggestions.