<OBJECT | Attribute Description Table |
When using ArcMap Server: (r)units="database | pixel" When using Image Server: (r)units="database | pixel" alignment="bottom_left | bottom_right | center | center_left | center_right | bottom_center | top_left | top_right | top_center" [bottom_left] lower="string" [1:1] upper="string" [1:infinity] > For lines, option 1 with Image and ArcMap Image Services is to use LINE: (r)<LINE... /> <COORDSYS... /> For lines, option 2 with ArcMap Image Services is to use POLYLINE and one symbol: (r)<POLYLINE... /> (r)<HASHLINESYMBOL... /> [Or] (r)<SIMPLELINESYMBOL... /> [Or] <COORDSYS... /> For lines, option 2 with Image Services is to use POLYLINE and one symbol: (r)<POLYLINE... /> (r)<HASHLINESYMBOL... /> [Or] (r)<RASTERMARKERSYMBOL... /> [Or] (r)<SIMPLELINESYMBOL... /> [Or] (r)<SIMPLEMARKERSYMBOL... /> [Or] (r)<TRUETYPEMARKERSYMBOL... /> [Or] <COORDSYS... /> For points, option 1 with Image and ArcMap Image Services is to use POINT: (r)<POINT... /> <COORDSYS... /> For points, option 2 with Image and ArcMap Image Services is to use MULTIPOINT and one symbol: (r)<MULTIPOINT... /> (r)<RASTERMARKERSYMBOL... /> [Or] (r)<SIMPLEMARKERSYMBOL... /> [Or] (r)<TRUETYPEMARKERSYMBOL... /> [Or] <COORDSYS... /> For polygons, option 1 with Image and ArcMap Image Services is to use POLYGON. RING and HOLE are not permitted: (r)<POLYGON... /> <COORDSYS... /> For polygons, option 2 with ArcMap Image Services is to use POLYGON and one symbol. RING and HOLE are permitted: (r)<POLYGON... /> (r)<GRADIENTFILLSYMBOL... /> [Or] (r)<RASTERFILLSYMBOL... /> [Or] (r)<SIMPLEPOLYGONSYMBOL... /> [Or] <COORDSYS... /> For polygons, option 2 with Image Services is to use POLYGON and one symbol. RING and HOLE are permitted: (r)<POLYGON... /> (r)<GRADIENTFILLSYMBOL... /> [Or] (r)<HASHLINESYMBOL... /> [Or] (r)<RASTERFILLSYMBOL... /> [Or] (r)<RASTERMARKERSYMBOL... /> [Or] (r)<SIMPLELINESYMBOL... /> [Or] (r)<SIMPLEMARKERSYMBOL... /> [Or] (r)<SIMPLEPOLYGONSYMBOL... /> [Or] (r)<TRUETYPEMARKERSYMBOL... /> [Or] <COORDSYS... /> Other OBJECT child elements with Image and ArcMap Image Services: (r)<NORTHARROW... /> [Or] (r)<SCALEBAR... /> [Or] (r)<TEXT... /> [Or] <COORDSYS... /> </OBJECT > | |
(r): Attribute or child element is required. |
Option 1 for Points | Option 2 for Points |
---|---|
<OBJECT units="pixel"> <POINT coords="0 0"> <SYMBOL> <POINT> </OBJECT> | <OBJECT units="pixel" > <SYMBOL> <MULTIPOINT> <POINT x="0" y="0" /> </MULTIPOINT> </OBJECT> |
Option 1 for Lines | Option 2 for Lines |
---|---|
<OBJECT units="pixel"> <LINE coords="0 0;400 0;400 13;0 13"> <SYMBOL /> </LINE> </OBJECT> | <OBJECT units="database"> <SYMBOL /> <POLYLINE> <PATH> <COORDS>0 0;400 0;400 13;0 13</COORDS> </PATH> </POLYLINE> </OBJECT> |
Option 1 for Polygons | Option 2 for Polygons |
---|---|
<OBJECT units="pixel"> <POLYGON coords="10 10;400 10;400 20;10 20;10 10"> <SYMBOL /> </POLYGON> </OBJECT> | <OBJECT units="database"> <SYMBOL /> <POLYGON> <RING> <POINT x="83.15" y="38.07" /> <POINT x="111.09" y="-4.70" /> <POINT x="155.10" y="-10.38" /> <POINT x="139.10" y="66.38" /> <POINT x="83.15" y="38.07" /> <HOLE> <COORDS>100.15 20.07;103.09 30.70;106.10 30.38;100.15 20.07</COORDS> </HOLE> </RING> </POLYGON> </OBJECT> |
Attribute | Usage |
---|---|
alignment |
When an acetate object is placed on a map, the origin point 0,0 is in the bottom left corner of the image by default. When using SEPARATELAYER, the desired point of origin is often the center of the image. This attribute allows you to determine the 0,0 origin point in relation to the output image. Valid only when units="pixel". The following child elements can be aligned: SCALEBAR, NORTHARROW, TEXTMARKERSYMBOL, RASTERMARKERSYMBOL, and TRUETYPEMARKERSYMBOL. |
lower | Minimum scale to display an object using a relative scale such as 1:24000. Scale can also be calculated as the number of map units per pixel. |
units | Determines how coordinates for the object are specified. Coordinates can be specified two ways:
|
upper | Maximum scale to display an object 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="-141.003006" miny="41.913319" maxx="-52.620281" maxy="83.108322" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> <FEATURECOORDSYS id="4326" /> <FILTERCOORDSYS id="4326" /> </PROPERTIES> <WORKSPACES> <SHAPEWORKSPACE name="shp_ws-16" directory="<path to CANADA ESRIDATA>" /> </WORKSPACES> <LAYER type="featureclass" name="province" visible="true" id="0"> <DATASET name="province" type="polygon" workspace="shp_ws-16" /> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL fillcolor="227,127,227" filltype="solid" /> </SIMPLERENDERER> </LAYER> <LAYER type="acetate" name="Selectedmark" id="acetate"> <OBJECT units="pixel"> <NORTHARROW type="4" size="15" coords="20 30" shadow="32,32,32" angle="0" antialiasing="true" overlap="false"/> </OBJECT> </LAYER> </MAP> </CONFIG> </ARCXML> |
<?xml version="1.0" encoding="UTF-8"?> <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <PROPERTIES> <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" /> <IMAGESIZE width="643" height="502" /> </PROPERTIES> <LAYER type="acetate" name="acetate" id="acetate"> <OBJECT units="pixel"> <TEXT coords="100 100" label="You are here"> <TEXTMARKERSYMBOL font="Arial" /> </TEXT> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |
<?xml version="1.0" encoding="UTF-8" ?> <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <PROPERTIES> <ENVELOPE minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" /> <IMAGESIZE width="800" height="600" /> </PROPERTIES> <LAYER type="acetate" name="acetate" id="acetate"> <OBJECT units="pixel"> <POINT coords="100 100" > <SIMPLEMARKERSYMBOL color="0,0,0" width="20" /> </POINT> </OBJECT> </LAYER> <LAYER type="acetate" name="acetate" id="acetate"> <OBJECT units="database"> <SIMPLEMARKERSYMBOL color="0,0,0" width="20" /> <MULTIPOINT> <POINT x="-120.1079549837513" y="40.99815142335011" /> <POINT x="-110.99468788980437" y="30.88488432940315" /> <POINT x="10.13210788980437" y="30.82488950980315" /> </MULTIPOINT> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |
<?xml version="1.0" encoding="UTF-8" ?> <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <PROPERTIES> <ENVELOPE minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" /> <IMAGESIZE width="800" height="600" /> </PROPERTIES> <LAYER type="acetate" name="Selectedmark" id="acetate"> <OBJECT units="database"> <SIMPLELINESYMBOL color="0,0,0" width="6" /> <POLYLINE> <PATH> <POINT x="-2.1079549837513" y="19.99815142335011" /> <POINT x="28.99468788980437" y="15.88488432940315" /> <POINT x="55.99468788980437" y="35.88488432940315" /> </PATH> </POLYLINE> </OBJECT> </LAYER> <LAYER type="acetate" name="Selectedmark" id="acetate1"> <OBJECT units="pixel"> <LINE coords="0 0;400 0;400 13;0 13"> <SIMPLELINESYMBOL color="0,255,0" width="6" /> </LINE> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |
<?xml version="1.0" encoding="UTF-8" ?> <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <PROPERTIES> <ENVELOPE minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0" /> <IMAGESIZE width="800" height="600" /> </PROPERTIES> <LAYER type="acetate" name="acetate" id="acetate"> <OBJECT units="pixel"> <POLYGON coords="10 10;400 10;400 20;10 20;10 10"> <SIMPLEPOLYGONSYMBOL fillcolor="255,255,0" /> </POLYGON> </OBJECT> </LAYER> <LAYER type="acetate" name="acetate1" id="acetate1"> <OBJECT units="database"> <SIMPLEPOLYGONSYMBOL fillcolor="0,255,0" /> <POLYGON> <RING> <POINT x="83.15605550814075" y="38.07185101549165" /> <POINT x="111.09942196116728" y="-4.70645066589869" /> <POINT x="155.1079549837513" y="-10.38915084069517" /> <POINT x="139.1079549837513" y="66.38915084069517" /> <POINT x="83.15605550814075" y="38.07185101549165" /> <HOLE> <POINT x="100.15605550814075" y="20.07185101549165" /> <POINT x="103.09942196116728" y="30.70645066589869" /> <POINT x="106.1079549837513" y="30.38915084069517" /> <POINT x="100.15605550814075" y="20.07185101549165" /> </HOLE> </RING> </POLYGON> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |