RANGE  Examples

Used in:  CONFIG   REQUEST   RESPONSE  
Servers:  Image   Feature  
Parent elements:  VALUEMAPLABELRENDERER   VALUEMAPRENDERER  

<RANGE Attribute Description Table

     lower ="string, numeric, or date"
     upper ="string, numeric, or date"
     equality ="all | upper | lower | none"  [lower]
     label ="string"
>


     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]

</RANGE >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for RANGE:

Attribute Usage Back to Top
equality Defines the upper and lower bounds of each range. If "all" is used, then lower <= value <= upper. If "upper" is used, lower < value <= upper. If "lower" is used, lower <= value < upper.
label Label for legend.
lower Lower value of range; can be a numeric, string, or date value.
upper Upper value of range; can be a numeric, string, or date value.
 

Examples for RANGE:

Example 1: 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="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" />
         <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="Countries" visible="true" id="100">
        <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-0" />
        <VALUEMAPRENDERER lookupfield="AREA">
        <RANGE lower="0.0" upper="1000000.0" equality="all" label="Small">
          <SIMPLEPOLYGONSYMBOL filltype="solid" fillcolor="255,255,0" boundarywidth="1" />
        </RANGE>
        <RANGE lower="1000000.0" upper="3000000.0" equality="upper" label="Medium">
          <SIMPLEPOLYGONSYMBOL filltype="solid" fillcolor="255,146,0" boundarywidth="2" />
        </RANGE>
        <RANGE lower="3000000.0" upper="10000000.0" equality="upper" label="Large">
          <RASTERMARKERSYMBOL shadow="0,0,0" overlap="true" url="http://arcims2/website/color.gif" image="C:\ArcIMS\WebSite\color.gif" />
        </RANGE>
        <OTHER>
          <SIMPLEPOLYGONSYMBOL filltype="solid" fillcolor="128,128,128" />
        </OTHER>
        </VALUEMAPRENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: 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="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" />
         <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="Cities" visible="true" id="1">
        <DATASET name="cities" type="point" workspace="shp_ws-0" />
        <GROUPRENDERER>
          <VALUEMAPLABELRENDERER lookupfield="POPULATION" labelfield="NAME" >
          <RANGE lower="0.0" upper="150000.0">
            <TEXTSYMBOL font="Tahoma" fontstyle="regular" fontsize="10" />
          </RANGE>
          <RANGE lower="150001.0" upper="750000.0">
            <TEXTSYMBOL font="Arial" fontstyle="italic" fontsize="12" glowing="125,125,125" />
          </RANGE>
          <RANGE lower="750001.0" upper="3427180.0">
            <TEXTSYMBOL font="Times New Roman" fontstyle="bolditalic" fontsize="14" glowing="255,255,0" shadow="0,0,0" />
          </RANGE>
          </VALUEMAPLABELRENDERER>
          <SIMPLERENDERER>
            <SIMPLEMARKERSYMBOL color="51,102,51" width="8" />
          </SIMPLERENDERER>
        </GROUPRENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>