Skip to main content

Spatial Join (Points) on distance

I've got two point layers and want to perform a spatial join on nearest distance.

Normally it is quite easy with ArcMap. But no I got a restricting condition on the spatial join: The restriction only allows the attributes to be joined if the nearests point is within the same country.

Both point layer having an information about the country (e.g. "de" for germany) in their attribute table. So it must be some spatial join like: Join attribute B to layer A on nearest distance where countryID_Layer A = countryID_Layer B.

Does anybody has an idea how I could solve this? Thanks in advance hoge6b01

hoge6b01
  • 1.1k
  • 4
  • 20
  • 40