First of all, I'm new to FME, but I'll try to be specific with my question.
I have two different shapefiles with point features. These points have information on bridges and overpasses etc. but are from different providers.These points are located quite close to the actual location of these bridges etc. So I think a spatial join can be done in this case.
The problem is, there are sometimes a lot of different points in one layer and only one point in the other layer. Both layers have one attribute in common, which represents the road number where the bridge etc. is located.
In FME I have tried to join these two layers with "NeighborFinder" -transformer, with 50 meter search radius. I think I could be more precise with the join if I could prefer joins that have common attribute.
For examble If point A has two different points close to it in the other layer. Point B is 10 meters away and point C is 45 meters away. In this case Neighborfinder would join point B to point A. But, I'd like FME to check what is the ROADNUMBER attribute in point A, then check what points are within 50 meters from it, then check if any of the points close to it (B & C) have ROADNUMBER attribute similar to point A, If there is similar attribute on either of these, the one with similar attribute would be preferred and joined to point A. In case there was no similar attribute, then just the closest point would be joined to point A.
Another thing i would like to know, is the number of candidates available for join within the search radius, but this is just secondary knowledge in this case.
أكثر...
I have two different shapefiles with point features. These points have information on bridges and overpasses etc. but are from different providers.These points are located quite close to the actual location of these bridges etc. So I think a spatial join can be done in this case.
The problem is, there are sometimes a lot of different points in one layer and only one point in the other layer. Both layers have one attribute in common, which represents the road number where the bridge etc. is located.
In FME I have tried to join these two layers with "NeighborFinder" -transformer, with 50 meter search radius. I think I could be more precise with the join if I could prefer joins that have common attribute.
For examble If point A has two different points close to it in the other layer. Point B is 10 meters away and point C is 45 meters away. In this case Neighborfinder would join point B to point A. But, I'd like FME to check what is the ROADNUMBER attribute in point A, then check what points are within 50 meters from it, then check if any of the points close to it (B & C) have ROADNUMBER attribute similar to point A, If there is similar attribute on either of these, the one with similar attribute would be preferred and joined to point A. In case there was no similar attribute, then just the closest point would be joined to point A.
Another thing i would like to know, is the number of candidates available for join within the search radius, but this is just secondary knowledge in this case.
أكثر...