Skip to main content
Solved

i would like to search with x and y coordinates from table BKR2 for nearest x and y coordinates in table GBA_addres

  • November 23, 2022
  • 5 replies
  • 33 views

scootercat_nl
Contributor
Forum|alt.badge.img+5

I have a table (BKR2) with x and y coordinates, but no address.

There is another table (GBA_address) with x and y coordinates with address.

i would like to search with x and y coordinates from table BKR2 for nearest x and y coordinates in table GBA_address.

Is that possible and how?

 

Best answer by redgeographics

thanks for your response.

I had to use vertexcreator for table BKR2.

When using FindNeigborFounder I get 100% MatchedBase.

If I then use FeatureMerge to retrieve the addresses from GBA_adress, I only get 30% hits.

What seems, the coordinates (_closest_candidate_x and _closest_candidate_y) have more digits after the dot.

for example : 200906.6264776. GBA_adress says 200906.62.

 

Is that possible and how can I solve this?

 

The coordinate precision is very probably not the issue here (unless you're right at the max distance).

 

Also, the NeighborFinder has the option to merge attributes, you don't need to do a separate feature merge afterwards.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

stefanh
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 38 replies
  • November 23, 2022

You can use the NeighborFinder transformer.


geomancer
Evangelist
Forum|alt.badge.img+58
  • Evangelist
  • 932 replies
  • November 23, 2022

The NeighborFinder uses geometries, so if your features don't have (point) geometries yet, first add them with a VertexCreator. After that you can use the NeighborFinder, as suggested above.

Your BRK2 data probably is parcel information, so you may already have polygons there. In that case you can use a PointOnAreaOverlayer to determine which adresses from GBA_address fall within which parcel.


scootercat_nl
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 19 replies
  • November 24, 2022

The NeighborFinder uses geometries, so if your features don't have (point) geometries yet, first add them with a VertexCreator. After that you can use the NeighborFinder, as suggested above.

Your BRK2 data probably is parcel information, so you may already have polygons there. In that case you can use a PointOnAreaOverlayer to determine which adresses from GBA_address fall within which parcel.

thanks for your response.

I had to use vertexcreator for table BKR2.

When using FindNeigborFounder I get 100% MatchedBase.

If I then use FeatureMerge to retrieve the addresses from GBA_adress, I only get 30% hits.

What seems, the coordinates (_closest_candidate_x and _closest_candidate_y) have more digits after the dot.

for example : 200906.6264776. GBA_adress says 200906.62.

 

Is that possible and how can I solve this?

 


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • Best Answer
  • November 24, 2022

thanks for your response.

I had to use vertexcreator for table BKR2.

When using FindNeigborFounder I get 100% MatchedBase.

If I then use FeatureMerge to retrieve the addresses from GBA_adress, I only get 30% hits.

What seems, the coordinates (_closest_candidate_x and _closest_candidate_y) have more digits after the dot.

for example : 200906.6264776. GBA_adress says 200906.62.

 

Is that possible and how can I solve this?

 

The coordinate precision is very probably not the issue here (unless you're right at the max distance).

 

Also, the NeighborFinder has the option to merge attributes, you don't need to do a separate feature merge afterwards.


scootercat_nl
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 19 replies
  • November 24, 2022

thanks for your response.

I had to use vertexcreator for table BKR2.

When using FindNeigborFounder I get 100% MatchedBase.

If I then use FeatureMerge to retrieve the addresses from GBA_adress, I only get 30% hits.

What seems, the coordinates (_closest_candidate_x and _closest_candidate_y) have more digits after the dot.

for example : 200906.6264776. GBA_adress says 200906.62.

 

Is that possible and how can I solve this?

 

thanks for your quick response and your advice.

 

It now works the way I want it to.

 

Thanks everyone for the input!