RASTERMARKERSYMBOL  Examples

Used in:  CONFIG   REQUEST   RESPONSE  
Servers:  Image   Feature   ArcMap  
Parent elements:  EXACT   LINE   OBJECT   OTHER   POINT   POLYGON   RANGE   SIMPLERENDERER  

<RASTERMARKERSYMBOL Attribute Description Table


     When using ArcMap Server:
     url ="url string"
     image ="path to image file"
     size ="1,1 - N,N"

     When using Image or Feature Server:
     url ="url string"
     antialiasing ="true | false"  [false]
     hotspot ="0,0 - N,N"  [centered]
     image ="path to image file"
     overlap ="true | false"  [true]
     shadow ="0,0,0 - 255,255,255"
     size ="1,1 - N,N"
     transparency ="0.0 - 1.0"  [1.0]
     usecentroid ="true | false"  [true]
>

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


Description:


Restrictions:


Notes:


Attribute Descriptions for RASTERMARKERSYMBOL:

Attribute Usage Back to Top
antialiasing 1 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.
hotspot 2 Determines where marker symbol is placed in relation to actual x,y location of the point the marker symbol represents. A hotspot of 0,0 places the point at the top left corner of the marker symbol. X,y coordinates are positive and measured in pixels. The default hotspot centers the marker symbol over the point based on its actual size. For example, if a marker symbol is 16x16 pixels, the default location is 8,8. If the size attribute is set to 32x32, the default hotspot center is still 8,8.
image 3 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 4 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.
shadow 5 Shadow color using RGB values.
size 6 Resizes marker symbol to new size in pixels. The default size is the actual width and height of the marker symbol. If size="0,0" is specified, the ImageServer writes a warning message to the log file and uses the default size settings.
transparency 7 Value to set percentage of transparency. 1.0 is 0 percent transparent. 0.0 is 100 percent transparent.
url 8 URL used by client to retrieve image.
usecentroid 9 By default, a marker symbol used on polygon layers draws markers at all polygon vertices. If usecentroid is "true", marker is placed in the centroid of the polygon. If multiple polygon parts exist, the marker falls on the part with the biggest area.
 

Examples for RASTERMARKERSYMBOL:

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="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" />
         <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="CITIES" visible="true" id="2">
        <DATASET name="CITIES" type="point" workspace="shp_ws-10" />
        <SIMPLERENDERER>
          <RASTERMARKERSYMBOL shadow="0,0,0" overlap="true" url="http://mymachine.domain.com/website/color.gif" image="C:\ArcIMS\WebSite\color.gif" transparency="1.0" size="16,16" hotspot="1,1" antialiasing="false" />
        </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: When using usecentroid with a polygon layer. 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="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" />
         <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
         <SHAPEWORKSPACE name="shp_ws-0" directory="<path to WORLD ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="CNTRY94" visible="true" id="0">
        <DATASET name="CNTRY94" type="polygon" workspace="shp_ws-0" />
        <GROUPRENDERER>
          <SIMPLERENDERER>
            <SIMPLEPOLYGONSYMBOL filltype="solid" fillcolor="127,227,227" />
          </SIMPLERENDERER>
          <SIMPLERENDERER>
            <RASTERMARKERSYMBOL usecentroid="true" url="http://mymachine.domain.com/website/color.gif" image="C:\ArcIMS\WebSite\color.gif" size="16,16" />
          </SIMPLERENDERER>
        </GROUPRENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 3: When layer rendering is included in SERVICEINFO and RASTERMARKERSYMBOL 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="Cities" id="Cities">
        <FCLASS type="point"> </FCLASS>
        <SIMPLERENDERER>
          <RASTERMARKERSYMBOL url="http://mymachine.domain.com/website/city.gif" overlap="true" />
        </SIMPLERENDERER>
      </LAYERINFO>
    </SERVICEINFO>
  </RESPONSE>
</ARCXML>