change fieldname join_count to other fieldname in spatial join

150
2
12-24-2021 12:03 AM
ArjenvanHartingsveldt
New Contributor

I often perform a Spatial join to count the number of features within an area. This number ends up in the 'join_count' field. Then I have to change this fieldname join_count to an other name. Is there a way to do this change within the Spatial Join-tool?

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

There are no builtin options since the names are pre-defined

Spatial Join (Analysis)—ArcGIS Pro | Documentation

If you are coding this in python you could try adding this to your workflow

Alter Field (Data Management)—ArcGIS Pro | Documentation


... sort of retired...
ArjenvanHartingsveldt
New Contributor

Thanks. I put these 2 tools together in this model, now it works how I wished: SpatialJoinFieldName.JPG

0 Kudos