Select to view content in your preferred language

Spatial Join tool: result layer does not count all joined features contained in target features

42
2
yesterday
Labels (3)
HaoHuang
Emerging Contributor

I have one green alley polygon feature layer and another census tract layer. I used spatial join to create a census tract layer containing green alley polygon features. I set the Shape Area field rule as Count, as shown in the following screenshot:

HaoHuang_0-1764743539339.png

I got the results as shown in the following screenshot: The green color polygon layer is original green alley polygon features layer. The blue color polygon layer is the output results showing census tracts containing green alley polygon features. The purple polygon layer is the census tract layer for the whole area. The Spatial Join tool operation does not count green alleys for all census tracts: some census tracts contain green alleys features, but the results count them as 0. How to fix it? Thank you

HaoHuang_2-1764744255152.png

0 Kudos
2 Replies
HaoHuang
Emerging Contributor

I have one green alley polygon feature layer and another census tract layer. I used spatial join to create a census tract layer containing green alley polygon features. I set the Shape Area field rule as Count, as shown in the following screenshot:

HaoHuang_0-1764743539339.png

I got the results as shown in the following screenshot: The green color polygon layer is original green alley polygon features layer. The blue color polygon layer is the output results showing census tracts containing green alley polygon features. The purple polygon layer is the census tract layer for the whole area. The Spatial Join tool operation does not count green alleys for all census tracts: some census tracts contain green alleys features, but the results count them as 0. How to fix it? Thank you

HaoHuang_2-1764744255152.png

 

 

 

 

0 Kudos
DanPatterson
MVP Esteemed Contributor

identifying the tabular results would help

this is Pro's help (arcmaps should be similar)

Spatial Join (Analysis)—ArcGIS Pro | Documentation

make sure both featureclasses are singlepart and not multipart features

Try one of the other options like intersect, or have there center in

since many of your features share boundaries between subject and target featureclasses and this may be affecting the "contains" option


... sort of retired...
0 Kudos