## Add color map to DRGs ##==================================== import arcpy from arcpy import env # Set workspace arcpy.env.workspace = "Y:\base_data\State\IL\100k_DRGs" # Get list of grids rasterList = arcpy.ListRasters("*", "GRID") for raster in rasterList: ## Add Colormap try: ##Assign colormap using clr file arcpy.AddColormap_management(raster, "#", "ISA_DRG.clr") print raster except: print "Add Colormap example failed." print arcpy.GetMessages()
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.