I need to be able to apply "no fill color" and different outline colors to each ring after creating a Multiple Ring Buffer.
The Values are always different and the amount of rings could be between 1 and 10.
Note this is being done in arcpy
thanks
From the Input Feature(s)
I know that I want ring 1 to have a red outline, Outline width 2, and no fill color no matter the Distance
I know that I want ring 2 to have a blue outline, Outline width 2, and no fill color no matter the Distance
...
I know that I want ring 10 to have a green outline, Outline width 2, and no fill color no matter the Distance
So you want something that is not know at the time of construction? The only way that can be done is to create the maximum first and use it for the remainder. There reaches a point when trying to account for the unknown or unaccounted for begins to waste development time. If you know that your maximum number of rings is going to be 10, then I would create a sample to produce the layer symbology
when i try Apply_Symbology_From_Layer the Value(s) have to match to be applied.
ie if the distance rings are 100,200,300 only matching rings of the same values get symbology applied.
i don't know what the values will be... any way to build it out so it's applied by something like ring1, ring2..., ring10
using apply symbology from layer?
convert to polylines, multipart to singlepart if necessary, ensure there is a size field of some sort and symbolize according to that
Ian,
I have arcObjects can you point me to an example?
You cannot directly create symbologies using arcpy, you would need arcobjects. However, you can set up a .lyr file with the symbology you need and have the .lyr file symbology applied to your multi-ring buffer output.
ArcGIS Help (10.2, 10.2.1, and 10.2.2)
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.