## 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()
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.