<SCALEDEPENDENTRENDERER | Attribute Description Table |
lower="double or string" upper="double or string" > (r)<GROUPRENDERER... /> [Or] (r)<SCALEDEPENDENTRENDERER... /> [Or] (r)<SIMPLELABELRENDERER... /> [Or] (r)<SIMPLERENDERER... /> [Or] (r)<VALUEMAPLABELRENDERER... /> [Or] (r)<VALUEMAPRENDERER... /> [Or] </SCALEDEPENDENTRENDERER > | |
(r): Attribute or child element is required. |
<!-- Display features and labels with a lower bound of 1:1000000 and an upper bound of 1:infinity (1:10000000000) --> <SCALEDEPENDENTRENDERER lower="1:1000000" upper="1:10000000000"> ... </SCALEDEPENDENTRENDERER> <!-- Display features with an upper bound of 1:1000000 and no lower bound (1:1) --> <SCALEDEPENDENTRENDERER lower="1:1" upper="1:1000000"> ... </SCALEDEPENDENTRENDERER> |
Attribute | Usage |
---|---|
lower | Minimum scale to display renderer using a relative scale such as 1:24000. Scale can also be calculated as the number of map units per pixel. |
upper | Maximum scale to display renderer using a relative scale such as 1:24000. Scale can also be calculated as the number of map units per pixel. |
<?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="-158.204086" miny="19.067062" maxx="-67.097816" maxy="70.319496" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> <FILTERCOORDSYS id="4326" /> <FEATURECOORDSYS id="4326"/> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-2" directory="<path to USA ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="ROADS" visible="true" id="0"> <DATASET name="ROADS" type="line" workspace="shp_ws-2" /> <GROUPRENDERER> <SCALEDEPENDENTRENDERER upper="1:20000000"> <GROUPRENDERER> <SIMPLERENDERER> <SIMPLELINESYMBOL type="solid" width="5" color="0,0,0" /> </SIMPLERENDERER> <SIMPLERENDERER> <SIMPLELINESYMBOL type="solid" width="3" color="255,0,0" /> </SIMPLERENDERER> <SIMPLERENDERER> <SIMPLELINESYMBOL type="solid" width="1" color="255,255,255" /> </SIMPLERENDERER> </GROUPRENDERER> </SCALEDEPENDENTRENDERER> <SCALEDEPENDENTRENDERER lower="1:20000000"> <SIMPLERENDERER> <SIMPLELINESYMBOL type="solid" width="1" color="255,0,0" /> </SIMPLERENDERER> </SCALEDEPENDENTRENDERER> </GROUPRENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
VALUEMAPLABELRENDERER lookupfield="TYPE" labelfield="NAME"
<?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="-74.066" miny="40.689" maxx="-73.823" maxy="40.883" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> <FILTERCOORDSYS id="4326" /> <FEATURECOORDSYS id="4326"/> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="path to data" /> </WORKSPACES> <LAYER type="featureclass" name="Roads" visible="true" id="4" maxscale="1:35000"> <DATASET name="nyc_roads" type="line" workspace="shp_ws-0" /> <GROUPRENDERER> <SCALEDEPENDENTRENDERER lower="1:21300" > <VALUEMAPRENDERER lookupfield="ROAD_TYPE"> <EXACT value="Freeway"> <SIMPLELINESYMBOL type="solid" width="3" color="255,0,0" /> </EXACT> <EXACT value="Street"> <SIMPLELINESYMBOL type="solid" width="1" color="0,0,255" /> </EXACT> <OTHER> <SIMPLELINESYMBOL type="solid" width="1" color="0,255,0" /> </OTHER> </VALUEMAPRENDERER> </SCALEDEPENDENTRENDERER> <SCALEDEPENDENTRENDERER upper="1:21300"> <GROUPRENDERER> <VALUEMAPRENDERER lookupfield="ROAD_TYPE"> <EXACT value="Freeway"> <SIMPLELINESYMBOL type="solid" width="9" color="0,0,0" /> </EXACT> <EXACT value="Street"> <SIMPLELINESYMBOL type="solid" width="8" color="255,255,255" /> </EXACT> <OTHER> <SIMPLELINESYMBOL type="solid" width="1" color="0,0,255" /> </OTHER> </VALUEMAPRENDERER> <VALUEMAPRENDERER lookupfield="ROAD_TYPE"> <EXACT value="Freeway"> <SIMPLELINESYMBOL type="solid" width="7" color="255,0,0" /> </EXACT> </VALUEMAPRENDERER> <VALUEMAPRENDERER lookupfield="ROAD_TYPE"> <EXACT value="Freeway"> <SIMPLELINESYMBOL type="solid" width="3" color="0,0,0" /> </EXACT> </VALUEMAPRENDERER> <VALUEMAPRENDERER lookupfield="ROAD_TYPE"> <EXACT value="Freeway"> <SIMPLELINESYMBOL type="solid" width="1" color="255,255,255" /> </EXACT> </VALUEMAPRENDERER> </GROUPRENDERER> </SCALEDEPENDENTRENDERER> <SCALEDEPENDENTRENDERER upper="1:25000"> <VALUEMAPLABELRENDERER lookupfield="ROAD_TYPE" labelfield="NAME" linelabelposition="placeontop" howmanylabels="One_label_per_name"> <EXACT value="Freeway"> <TEXTSYMBOL font="Arial" fontsize="14" fontstyle="bold" fontcolor="0,0,255" glowing="153,153,153"/> </EXACT> <EXACT value="Street"> <TEXTSYMBOL font="Arial" fontsize="14" fontstyle="bold" fontcolor="0,0,0" /> </EXACT> <OTHER> <TEXTSYMBOL font="Arial" fontsize="14" fontstyle="regular" fontcolor="0,0,255" /> </OTHER> </VALUEMAPLABELRENDERER> </SCALEDEPENDENTRENDERER> </GROUPRENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |