Skip to main content
Question

How to load prefix fields to testers from failed portion of SpatialFilter?


Currently I'm running 2 datasets into a spatial Filter between 2 datasets to locate spatial differences, and then I have a few testers setup to filter the data to just what I'd like to see.

For the spatial Filter I clicked merge attributes and added a prefix to differentiate between the two data sets and this works as intended for data that is outputted into the Pass portion but does not locate the prefix fields if I hook up the testers to the failed results.

 

However when its hooked to the failed results this is the apperance of the tester after the spatial filter

It does not find the Package1 prefix fields.

3 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • February 12, 2020

The Failed port does not have prefixed attributes, because it does not have a match.

You could add the BulkAttributeRenamer after the Failed port to add the prefix, but that would rename the original attribute.

I think you are looking for grouping in the SpatialFilter to only match those candidates that have the same RFROM as the filter. That can be accomplished by setting the Group By in the SpatialFilter to RFROM.

Hope this helps.


  • Author
  • February 13, 2020
erik_jan wrote:

The Failed port does not have prefixed attributes, because it does not have a match.

You could add the BulkAttributeRenamer after the Failed port to add the prefix, but that would rename the original attribute.

I think you are looking for grouping in the SpatialFilter to only match those candidates that have the same RFROM as the filter. That can be accomplished by setting the Group By in the SpatialFilter to RFROM.

Hope this helps.

Thanks I am trying to do something closer in line with the second method you suggested (the group by), but its more like a range (only show me results where the rfrom is within +/- 5 values of the other dataset in the same geographical area).


  • Author
  • February 13, 2020
richard_che wrote:

Thanks I am trying to do something closer in line with the second method you suggested (the group by), but its more like a range (only show me results where the rfrom is within +/- 5 values of the other dataset in the same geographical area).

I ended up running the failed into the filter of another spatial filter, and then I added the other data set into the candidate and was able to run the rest of the testers using this method.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings