LINE | Examples |
<LINE | Attribute
Description Table |
coords ="x1 y1;...xn yn"
> <HASHLINESYMBOL... /> [Or] <RASTERMARKERSYMBOL... /> [Or] <SIMPLELINESYMBOL... /> [Or] <SIMPLEMARKERSYMBOL... /> [Or] <TRUETYPEMARKERSYMBOL... /> [Or] </LINE > | |
Bold: Attribute or child element is
required. |
Attribute | Usage | Back to Top |
---|---|---|
coords | X- and y-coordinates representing a line. Coordinate x- and y-values are separated by white space, and coordinate pairs are separated by a semicolon by default. The separators can be changed by using SEPARATORS. |
Example 1: When in an acetate layer in a GET_IMAGE request. | Back to Top |
<?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"> <LINE coords="0 0;400 0;400 13;0 13"> <SIMPLELINESYMBOL color="0,0,0" /> </LINE> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |
Example 2: When in an acetate layer of a map configuration file. | 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-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"> <LINE coords="0 0;400 0;400 13;0 13"> <SIMPLELINESYMBOL color="0,0,0" /> </LINE> </OBJECT> </LAYER> </MAP> </CONFIG> </ARCXML> |