Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a program that iteratively replaces a temp field where I choose a certain symbology (color ramp and quantile color break methodology) with a few other fields from a join. The program works in that it outputs a file with the correct formatting and such, but it doesn't recalculate the quantile breakpoints based on the new fields. Is it possible to have it recalculate this?

Here is my code:

import arcpy

#List of names of fields to be mapped
ListOfFieldsToSymbolize = ["beta1","beta2","beta3"]

#Temporary field that layer is currently using in ArcMap
SymbolizedField = "temp"

for Field in ListOfFieldsToSymbolize:

    #Replace temporary field with one of the fields to be mapped
    arcpy.CalculateField_management("HRR_Boundary", SymbolizedField, "!" + Field + "!", "PYTHON")    

    arcpy.mapping.ExportToPDF(mxd, Field)
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.