## 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()
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.