RASTERFILLSYMBOL | Examples |
<RASTERFILLSYMBOL | Attribute
Description Table |
When using ArcMap Server: image ="path to image file" url ="url string" When using Feature Server: url ="url string" antialiasing ="true | false" [false] image ="path to image file" transparency ="0.0 - 1.0" [1.0] When using Image Server: image ="path to image file" antialiasing ="true | false" [false] overlap ="true | false" [true] transparency ="0.0 - 1.0" [1.0] url ="url string" > 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). Required for Image and ArcMap Image Services, and ignored by Feature Services. | |
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. Valid only with Image Services. | |
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. Required for Feature Services, and ignored by Image and ArcMap Image Services. |
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" /> <FILTERCOORDSYS id="4326" /> <FEATURECOORDSYS id="4326"/> </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" disabledtypes=""/> <SCREEN dpi="120"/> <IMAGELIMIT pixelcount="1048576" /> </ENVIRONMENT> <PROPERTIES> <FEATURECOORDSYS id="4326"/> <FILTERCOORDSYS id="4326"/> <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> |