RASTER_OTHER | Examples |
<RASTER_OTHER | Attribute
Description Table |
color ="0,0,0 - 255,255,255" [0,0,0]
label ="string" ["Out of Range"] transparency ="0.0 - 1.0" [1.0] > No Child Elements </RASTER_OTHER > |
Attribute | Usage | Back to Top |
---|---|---|
color | 1 Color using RGB values. Defines the color for all index values not previously defined. | |
label | 2 Description to be shown on legend. Valid with HTML Viewers only. | |
transparency | 3 Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent. |
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> |