Is it possible to set the 'sample size' property of graduated symbology programmatically? The GraduatedSymbolsRenderer does not have any advanced symbology parameters, but I need to increase the default sample size from 10,000 to 1M in a Python script.
I would like to avoid having to calculate the 'Natural Breaks' but if need be can anyone recommend a reference?
Thank you in advance!
ldef = layer.getDefinition('V2')ldef.renderer.sampleSize = 1000000000layer = layer.setDefinition(ldef)
I read in that documentation that the advanced properties are not available unless you access via CIM. Take a look at Python CIM access and see if you want to go that route?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.