Spatial Join, SUM merge rule for numerous join features

1142
1
05-13-2019 01:57 PM
TaylorGibbs
New Contributor

Hi guys, I need to SUM 200+ join features (fields) under "field map of join features" but it seems there is no other way than selecting the "sum" merge rule for every single field. I need to do this operation for 15 other spatial joins, quickly. Is there any way to expedite the SUM for every join feature/field? Thanks so much

0 Kudos
1 Reply
curtvprice
MVP Esteemed Contributor

I think the best way to do this is to use a python script to generate a field map using the FieldMappings and FieldMap arcpy objects.

This could be done in ModelBuilder using the Calculate Value python function to create a model element of type FieldMap, connecting it to the Spatial Join tool.

0 Kudos