Map to KML display expression

Discussion created by eibenm on Nov 12, 2013
Latest reply on Jan 27, 2014 by eibenm
I'm trying to streamline a already working tool with better display functionality through Arcpy.  I'm assigning labels to ArcMap using Arc formatting tags such as <CLR>, <BOL>, and <ITA>.  The problem I'm having is that these styles work great within ArcMap, by apparently aren't embedded deep enough into the software. 

An example of a display expression: "<BOL><CLR red='255' green='255' blue='255'>" + [Field1] + "</CLR></BOL>"

When the Map is exported to a KMZ through the "Map to KML" tool, the Arc formatting tags are inserted directly into the <name></name> KML tags and displayed as straight text in the KMZ labels.  However, when you actually use the color drop downs inside Arc instead of using the formatting display tags, the KMZ labels reflect that change.

From my understanding, ArcMap takes these formatting tags and displays the text dynamically through the software.  My question is this:
Is there a way to apply the formatting deep enough in ArcMap for the change to reflect through the Map to KML tool.  Ideally, the formatting would be applied through a python Arcpy tool.  The whole point is to not need a person to actually go into the menu and manually set the font as desired.

I suspect this functionality just isn't built into ArcMap, but it'd be nice to know,