SEPARATORS | Examples |
<SEPARATORS | Attribute
Description Table |
cs ="string" [white space (" ")]
ts ="string" [semicolon (";")] > No child elements </SEPARATORS > |
Attribute | Usage | Back to Top |
---|---|---|
cs | Coordinate separator is used to separate an x-coordinate from a y-coordinate. | |
ts | Tuple separator is used to separate coordinate pairs and string lists. |
Example 1: When in CONFIG. | 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" /> <SEPARATORS cs="#" ts="*" /> </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" /> <SPATIALQUERY> <SPATIALFILTER relation="area_intersection"> <POLYGON> <RING> <COORDS> -92#45*-92#55*-66#55*-54#63*-92#45 </COORDS> </RING> </POLYGON> </SPATIALFILTER> </SPATIALQUERY> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL fillcolor="227,127,227" filltype="solid" /> </SIMPLERENDERER> </LAYER> <LAYER type="acetate" name="Text" id="acetate"> <OBJECT units="pixel"> <TEXT coords="200#200" label="Text goes here"> <TEXTMARKERSYMBOL fontstyle="bold" fontsize="18" font="Times New Roman" fontcolor="0,255,0" blockout="120,255,0" glowing="125,125,125" shadow="0,0,0" transparency="0.8" antialiasing="false" interval="2" overlap="false" printmode="titlecaps" halignment="right" valignment="center" angle="300" /> </TEXT> </OBJECT> </LAYER> <LAYER type="acetate" name="Box"> <OBJECT units="pixel"> <LINE coords="10#10*400#10*400#80*10#80*10#10"> <SIMPLELINESYMBOL color="0,0,0" /> </LINE> </OBJECT> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 2: When in GET_IMAGE request. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <REQUEST> <GET_IMAGE> <ENVIRONMENT> <SEPARATORS cs="*" ts="@" /> </ENVIRONMENT> <PROPERTIES> <ENVELOPE minx="-148.0" miny="35.0" maxx="-46.0" maxy="90.0" /> <IMAGESIZE width="800" height="600" /> </PROPERTIES> <LAYER type="featureclass" name="new_CNTRY94" id="333"> <DATASET fromlayer="1" /> <SPATIALQUERY> <SPATIALFILTER relation="area_intersection"> <POLYGON> <RING> <COORDS> -70*45@-50*45@-52*80@-65*80@-70*45 </COORDS> </RING> </POLYGON> </SPATIALFILTER> </SPATIALQUERY> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL filltype="solid" fillcolor="255,0,0" /> </SIMPLERENDERER> </LAYER> <LAYER type="acetate" name="Text" id="444"> <OBJECT units="pixel"> <TEXT size="32" coords="10*40" label="Text goes here"> <TEXTMARKERSYMBOL fontstyle="bold" fontsize="32" font="Arial" fontcolor="0,0,0" glowing="255,255,0" /> </TEXT> </OBJECT> </LAYER> <LAYER type="acetate" name="Box" id="555"> <OBJECT units="pixel"> <LINE coords="10*40@400*40@400*130@10*130@10*40"> <SIMPLELINESYMBOL color="0,255,0" width="3" /> </LINE> </OBJECT> </LAYER> </GET_IMAGE> </REQUEST> </ARCXML> |
Example 3: When in GET_FEATURES request. | Back to Top |
<?xml version="1.0"
encoding="UTF-8" ?> <ARCXML version="1.1"> <REQUEST> <GET_FEATURES featurelimit="25" beginrecord="0" outputmode="xml" geometry="false" envelope="true" compact="true"> <ENVIRONMENT> <SEPARATORS cs=" " ts=";" /> </ENVIRONMENT> <LAYER id="1" /> <SPATIALQUERY subfields="NAME"> <SPATIALFILTER relation="area_intersection"> <POLYGON> <RING> <COORDS> -92 5;-92 63;-54 63;-54 45;-92 5 </COORDS> </RING> </POLYGON> </SPATIALFILTER> </SPATIALQUERY> </GET_FEATURES> </REQUEST> </ARCXML> |
Example 4: When in a SERVICEINFO response. | Back to Top |
<?xml version="1.0"
encoding="UTF8"?> <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=";"/> <SCREEN dpi="96"/> <IMAGELIMIT pixelcount="1048576" /> </ENVIRONMENT> <PROPERTIES> <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" name="Initial_Extent" /> <MAPUNITS units="decimal_degrees" /> </PROPERTIES> <LAYERINFO type="featureclass" visible="true" name="Cities" id="0"> <FCLASS type="point"> <ENVELOPE minx="-165.270004272461" miny="-53.1500015258789" maxx="177.130187988281" maxy="78.1999969482422" /> </FCLASS> </LAYERINFO> </SERVICEINFO> </RESPONSE> </ARCXML> |