There are a set of checks that warn if feature properties do not match the set of fields specified in the metadata.fields array. These checks had been simply comparing feature property keys to metadata-field names. But in some cases the feature property keys might be field aliases. This PR adds a cross check with field alias before logging a warning.
In addition, this PR excludes fields named OBJECTID from the check. That is because OBJECTID might be a feature property generated by Winnow, in which case it wouldn't be defined in the metadata.fields array.
There are a set of checks that warn if feature properties do not match the set of fields specified in the
metadata.fields
array. These checks had been simply comparing feature property keys to metadata-field names. But in some cases the feature property keys might be field aliases. This PR adds a cross check with field alias before logging a warning.In addition, this PR excludes fields named
OBJECTID
from the check. That is becauseOBJECTID
might be a feature property generated by Winnow, in which case it wouldn't be defined in themetadata.fields
array.