EXACT | Examples |
<EXACT | Attribute
Description Table |
label ="string" method ="IsExact | isContained" [IsExact] value ="string, numeric, or date" > When parent element is VALUEMAPLABELRENDERER: <CALLOUTMARKERSYMBOL... /> [Or] <CHARTSYMBOL... /> [Or] <RASTERSHIELDSYMBOL... /> [Or] <SHIELDSYMBOL... /> [Or] <TEXTSYMBOL... /> [Or] When parent element is VALUEMAPRENDERER: <GRADIENTFILLSYMBOL... /> [Or] <HASHLINESYMBOL... /> [Or] <RASTERFILLSYMBOL... /> [Or] <RASTERMARKERSYMBOL... /> [Or] <SIMPLELINESYMBOL... /> [Or] <SIMPLEMARKERSYMBOL... /> [Or] <SIMPLEPOLYGONSYMBOL... /> [Or] <TRUETYPEMARKERSYMBOL... /> [Or] </EXACT > | |
Bold: Attribute or child element is
required. |
Attribute | Usage | Back to Top |
---|---|---|
label | Label for legend. | |
method | Refers to the way a value in the data field is compared to the EXACT value. Use isExact for an exact match. Use isContained to search for the value anywhere in a string. String comparisons are case sensitive. | |
value | Values used for matching records in a selected field. Can be a numeric, string, or date value. Multiple values can be grouped together for one EXACT category. The default separator between values is a semicolon. To use another separator, use SEPARATORS in the PROPERTIES section. |
Example 1: When using VALUEMAPLABELRENDERER. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-178.215027" miny="18.924782" maxx="-66.969849" maxy="71.406647" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>"/> </WORKSPACES> <LAYER type="featureclass" name="ROADS" visible="true" id="1"> <DATASET name="ROADS" type="line" workspace="shp_ws-0" /> <GROUPRENDERER> <VALUEMAPLABELRENDERER lookupfield="ADMN_CLASS" labelfield="ROUTE" linelabelposition="placeabove"> <EXACT value="US Highway" label="US Highways" method="isContained" > <SHIELDSYMBOL antialiasing="true" font="Arial" fontstyle="regular" fontsize="10" type="usroad" /> </EXACT> <EXACT value="Interstate" label="Interstate Freeways" method="isContained" > <SHIELDSYMBOL labelmode="numericonly" antialiasing="true" font="Tahoma" fontstyle="italic" fontsize="14" type="interstate" minsize="1"/> </EXACT> <OTHER> <TEXTSYMBOL font="Arial" fontstyle="regular" fontsize="10" /> </OTHER> </VALUEMAPLABELRENDERER> <SIMPLERENDERER> <SIMPLELINESYMBOL type="solid" width="1" captype="round" jointype="round" color="127,127,27" /> </SIMPLERENDERER> </GROUPRENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 2: When using VALUEMAPRENDERER. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="477518.305458" miny="3762433.842048" maxx="495210.599161" maxy="3773575.120050" name="Initial_Extent" /> <MAPUNITS units="meters" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to data>"/> </WORKSPACES> <LAYER type="featureclass" name="Crime" visible="true" id="2"> <DATASET name="Crime" type="point" workspace="shp_ws-0" /> <VALUEMAPRENDERER lookupfield="CODE"> <EXACT value="3" label="Level 3"> <SIMPLEMARKERSYMBOL color="127,27,27" type="cross" width="6" /> </EXACT> <EXACT value="2" label="Level 2"> <SIMPLEMARKERSYMBOL color="227,27,27" type="triangle" width="6" /> </EXACT> <EXACT value="1" label="Level 1"> <TRUETYPEMARKERSYMBOL font="ESRI Cartography" character="252" fontcolor="255,255,0" fontsize="16" /> </EXACT> </VALUEMAPRENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 3: Example showing multiple values grouped together for one EXACT category. The separator, by default, is a semicolon. The separator can be changed by changing the tuple separator (ts) in SEPARATORS. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-178.215027" miny="18.924782" maxx="-66.969849" maxy="71.406647" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="STATES" visible="true" id="0"> <DATASET name="STATES" type="polygon" workspace="shp_ws-0" /> <VALUEMAPRENDERER lookupfield="STATE_ABBR"> <EXACT value="OK;OH;OR" label="States with O"> <SIMPLEPOLYGONSYMBOL fillcolor="27,27,27" filltype="solid" /> </EXACT> <EXACT value="NV;NE;ND;NC;NY;NH;NJ;NM" label="States with N"> <SIMPLEPOLYGONSYMBOL fillcolor="27,27,127" filltype="solid" /> </EXACT> <EXACT value="MT;ME;MA;MD;MS;MO;MI;MN" label="States with M"> <SIMPLEPOLYGONSYMBOL fillcolor="227,227,227" filltype="solid" /> </EXACT> <OTHER> <SIMPLEPOLYGONSYMBOL fillcolor="127,27,27" filltype="solid" /> </OTHER> </VALUEMAPRENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |