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")
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.