## 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()
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.