0

I am using an ArcGIS Notebook with ArcGIS Pro.

I am able to set graduate colors to my layers symbology. Although there is no renderer for proportional symbology.

Is there any way to do that?

aprx = arcpy.mp.ArcGISProject(r"C:\Data\project3.aprx")
mapx = aprx.listMaps("Map")[0]
lyr = mapx.listLayers("Places")[0]
sym = lyr.symbology`
 
sym.UpdateRenderer('Proportional Symbols')

lyr.symbology = sym

I am interested in this result: enter image description here

0

2 Answers 2

1

I know a workaround you can use for applying the layer a Propotional Symbols symbology. Just put a layer in our project which exactly has the symbology you want and then use the funtion "ApplySymbologyFromLayer" to symbolize our new layer. So just leave your old layer with the right symbology there all the time, so you can use the symbology whenever you want.

1

If you read the Symbology help file, the supported renderers are discussed. As you will see Proportional Symbols is currently unsupported.

The supported types are: GraduatedColorsRenderer, GraduatedSymbolsRenderer, SimpleRenderer, or UniqueValueRenderer.

1
  • Yes okay but maybe someone knows workaround
    – TurnGISon
    Sep 28, 2021 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.