EXACT

Used in

CONFIG  REQUEST  RESPONSE  

Servers

Image  Feature  

Parent elements

VALUEMAPLABELRENDERER  VALUEMAPRENDERER 

Syntax

<EXACTAttribute Description Table
     label="string"
     method="IsExact | isContained" [IsExact]
     value="string, numeric, date, or boolean"
>


     When parent element is VALUEMAPLABELRENDERER:
     (r)<CALLOUTMARKERSYMBOL... /> [Or]
     (r)<CHARTSYMBOL... /> [Or]
     (r)<RASTERSHIELDSYMBOL... /> [Or]
     (r)<SHIELDSYMBOL... /> [Or]
     (r)<TEXTSYMBOL... /> [Or]

     When parent element is VALUEMAPRENDERER:
     (r)<GRADIENTFILLSYMBOL... /> [Or]
     (r)<HASHLINESYMBOL... /> [Or]
     (r)<RASTERFILLSYMBOL... /> [Or]
     (r)<RASTERMARKERSYMBOL... /> [Or]
     (r)<SIMPLELINESYMBOL... /> [Or]
     (r)<SIMPLEMARKERSYMBOL... /> [Or]
     (r)<SIMPLEPOLYGONSYMBOL... /> [Or]
     (r)<TRUETYPEMARKERSYMBOL... /> [Or]

</EXACT >
(r): Attribute or child element is required.

Description

Used with VALUEMAPRENDERER and VALUEMAPLABELRENDERER for matching exact values within a specified field in the database. When a match occurs, the symbol is drawn as specified for that EXACT value.

Restrictions


Notes


Attribute Descriptions for EXACT

AttributeUsage
labelLabel for legend.
methodRefers 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.
valueValues used for matching records in a selected field. They 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. The separator can be changed by declaring the tuple separator (ts) in SEPARATORS.
Back to top 

Examples for EXACT

Example 1: When using VALUEMAPRENDERER.
<?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" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </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 2: When using VALUEMAPLABELRENDERER.
<?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" />
        <FILTERCOORDSYS id="4326" />
        <FEATURECOORDSYS id="4326"/>
      </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 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.
<?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" />
      <FILTERCOORDSYS id="4326" />
      <FEATURECOORDSYS id="4326"/>
      </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>

Back to top