RASTERFILLSYMBOL | Examples |
<RASTERFILLSYMBOL | Attribute
Description Table |
When using ArcMap Server: image ="path to image file" url ="url string" When using Image or Feature Server: image ="path to image file" url ="url string" antialiasing ="true | false" [false] overlap ="true | false" [true] transparency ="0.0 - 1.0" [1.0] > No Child Elements </RASTERFILLSYMBOL > | |
Bold: Attribute or child element is
required. |
Attribute | Usage | Back to Top |
---|---|---|
antialiasing | Used to make edges of labels and symbols smoother. When set to "true", antialiasing is active. Note that the time to generate a map may significantly increase when antialiasing is turned on. | |
image | Full pathname to image. ArcIMS Spatial Server uses this pathname to find the image and add it to the map. UNC pathnames can be used (\\myComputer\arcims\output). | |
overlap | Determines if labels can overlap this symbol. When "true", labels can overlap. When "false", labels will not overlap the symbol. If labels are not drawing as expected, check if overlap is set to "false" for this symbol or any other symbol in the ArcIMS service. | |
transparency | Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent. | |
url | URL used by client to retrieve image. |
Example 1: When in CONFIG or REQUEST. | 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="-141.003006" miny="41.913319" maxx="-52.620281" maxy="83.108322" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-0" directory="<path to CANADA ESRIDATA>"/> </WORKSPACES> <LAYER type="featureclass" name="province" visible="true" id="0"> <DATASET name="province" type="polygon" workspace="shp_ws-0" /> <SIMPLERENDERER> <RASTERFILLSYMBOL transparency="0.5" overlap="true" url="http://mymachine.domain.com/website/color.gif" image="C:\ArcIMS\WebSite\color.gif" antialiasing="false"/> </SIMPLERENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 2: When layer rendering is included in SERVICEINFO and RASTERFILLSYMBOL is restricted. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <RESPONSE> <SERVICEINFO> <ENVIRONMENT> <LOCALE language="en" country="US" /> <UIFONT name="Arial" color="0,0,0" size="12" style="regular" /> <SEPARATORS cs=" " ts=";"/> <CAPABILITIES forbidden="GET_EXTRACT"/> <SCREEN dpi="120"/> <IMAGELIMIT pixelcount="1048576" /> </ENVIRONMENT> <PROPERTIES> <ENVELOPE minx="-141.003005981445" miny="29.9125167103556" maxx="-52.6202812194824" maxy="83.1083221435546" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <LAYERINFO type="featureclass" visible="true" name="Provinces" id="Provinces"> <FCLASS type="polygon"> </FCLASS> <SIMPLERENDERER> <RASTERFILLSYMBOL url="http://mymachine.domain.com/website/color.gif" transparency="0.5" overlap="true" /> </SIMPLERENDERER> </LAYERINFO> </SERVICEINFO> </RESPONSE> </ARCXML> |