ArcGIS Pro - Data joined back to original misses matches using Join

259
2
03-29-2023 01:06 AM
Labels (1)
Moseleyi
New Contributor II

I had a feature class with postcodes of Spain. Out of this I compared it to a different layer, performed some geospatial analysis and I have the output feature class that also contains the postcode from the original layer.

The type of the field is the same but for some reason, when I join the result of tha analysis back to the untouched layer, I only get 627 matches, even though the result has 981 rows and they all exist in the original.

This is the result of the analysis - 981 records:

 

FK3yf.png

and the original:

DOJ15.png

I'm adding the join:

p32tW.png

but for some reason the join doesn't find all the values:

vSogI.png

I checked and there are no selections or filters on any of the layers and despite the "0" at the beginning of some of those 981 postcodes, the field type is definitely Text.

Am I missing a step or two to make this join?

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

several times in the past trailing spaces in either the of the two files will negate a join

eg "0001 " won't join to "0001"


... sort of retired...
Moseleyi
New Contributor II

I trimmed both fields but no effect. Mostly because the postcode in the layer comes from source anyway:

Moseleyi_0-1680090311312.png

 

0 Kudos