Select to view content in your preferred language

Greedy Color Symbolizer Toolbox (Symbolize a feature with fewest colors)

532
0
02-14-2022 01:15 PM
CodyScott
Occasional Contributor

Hello,

Not a question, but sharing a helpful tool to symbolize a feature class while preventing color conflicts between individual features.

Basis is the five color theorem (https://en.wikipedia.org/wiki/Five_color_theorem ) where features that touch each other can't share the same color, but the fewest colors are used to symbolize a dataset. Example is to color every country of the world, with the fewest colors possible.

Tool takes a layer from an active map in ArcGIS Pro (tested in 2.8), and groups the rows in such a way that there is no conflicts between interconnected features based on a field selection.

As it uses networkx, the default environment should be cloned, and networkx installed prior to use.

https://github.com/namur007/ArcGIS-Pro-Color 

Curious on feedback if anyone finds this helpful.

0 Kudos
0 Replies