I have some Python scripting that creates two Raster Mosaic Datasets. The script then proceeds to add a number of surfaces simulating groundwater elevations. All of that is working well, but then I want to apply a color-ramped classified symbology from a layer file. My layer file contains a classified symbology. But my Raster Mosaic Datasets have a "Stretched" symbology. My understanding is that the symbologyType property is ReadOnly and cannot be changed. So my question is: Can the symbologyType of the Image layer in a Raster Mosaic Dataset be assigned to "Classified" when it's created?Thanks for any insight you can provide. Jon Mulder
##Calculate Statistics. arcpy.AddMessage("Calculating Statistics for " + ras + ".") arcpy.CalculateStatistics_management(ras, "1", "1", "#", "OVERWRITE")
In reading your post again, you mention that you can't programmatically Calculate Statistics; I'm able to do it with the following code: ##Calculate Statistics. arcpy.AddMessage("Calculating Statistics for " + ras + ".") arcpy.CalculateStatistics_management(ras, "1", "1", "#", "OVERWRITE")
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.