> Script Details
Map Coloring - Five Color a Map
report inappropriate content
May 3 2007
Status of work
ArcScripts is intended for the free exchange of scripts and tools related to ESRI software products. Please alert the moderator if this script is a demo, trial-version, or an advertisement for a retail product.
Update April 23, 2007 - fixes an infinite loop when coloring some non-planar maps.
Update April 26, 2007 - fixes a bug in the code for coloring node neighbors.
Geoprocessing tool and a COM component that implement an algorithm to assign a number from 1 to 5 to a Field in a polygon FeatureClass. A Unique Value Renderer using the Field will color the map so no neighbors have the same color. Details in a readme file, and in the help for the Geoprocessing Tool.
If either of the two map coloring .dlls fail to register, it may require a download from Microsoft of the version 7 C-runtime libraries, msvcr71.dll and msvcp71.dll. These can be copied to your windows\system32 directory.