WORKSPACES | Examples |
<WORKSPACES > No Attributes When parent element is MAP in a map configuration file, GET_IMAGE: (m) <IMAGEWORKSPACE... /> (m) <SDEWORKSPACE... /> (m) <SHAPEWORKSPACE... /> When parent element is MAP in a viewer configuration file: (m) <AVIMSWORKSPACE... /> (m) <FEATURESERVERWORKSPACE... /> (m) <IMAGESERVERWORKSPACE... /> (m) <IMAGEWORKSPACE... /> (m) <MOIMSWORKSPACE... /> (m) <SDEWORKSPACE... /> (m) <SHAPEWORKSPACE... /> When parent element is MARKUP: (m) <FEATURESERVERWORKSPACE... /> </WORKSPACES > | |
(m): Child element can be used multiple times. |
Example 1: When in CONFIG and 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="forests" visible="true" id="0"> <DATASET name="forests" type="polygon" workspace="shp_ws-0" /> <SIMPLERENDERER> <SIMPLEPOLYGONSYMBOL filltype="solid" fillcolor="0,153,255" /> </SIMPLERENDERER> </LAYER> </MAP> </CONFIG> </ARCXML> |