RASTER_EXACT  Examples

Used in:  CONFIG  
Parent elements:  RASTER_RENDERER  

<RASTER_EXACT Attribute Description Table

     value ="double"
     color ="0,0,0 - 255,255,255"  [0,0,0]
     label ="string"  [Value of index]
     transparency ="0.0 - 1.0"  [1.0]
>

     No Child Elements
</RASTER_EXACT >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for RASTER_EXACT:

Attribute Usage Back to Top
color Color using RGB values. Defines the color corresponding to the specified index value.
label Description to be shown on legend. Valid with HTML Viewers only.
transparency Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent.
value Index value in the raster image. Can be image or floating point values.
 

Examples for RASTER_EXACT:

Example 1: When in a map configuration file. 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="0" miny="0" maxx="256" maxy="256" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
        <SDEWORKSPACE name="sde_ws-0"  server="myserver" instance="port:5151" database="" user="WASHOE" encrypted="true" password="LXEMUR" />
      </WORKSPACES>
      <LAYER type="image" name="Land Use" visible="true" id="0">
        <DATASET name="WASHOE.BIT8_COLORMAP.IMAGE" workspace="sde_ws-0" />
        <RASTER_RENDERER>
          <RASTER_EXACT value="0" color="10,200,10" transparency="0.5"  label="Clouds"/>
          <RASTER_RANGE lower="1" upper="101" color="200,40,10" transparency="0.5"  equality="lower" label="Urban"/>
          <RASTER_RANGE transparency="1.0" lower="101" upper="255" color="255,255,10" equality="lower" label="Rural"/>
          <RASTER_OTHER transparency="0.0" label="Other"/>
        </RASTER_RENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>