IMAGEWORKSPACE  Examples

Used in:  CONFIG   REQUEST  
Parent elements:  WORKSPACES  

<IMAGEWORKSPACE Attribute Description Table

     directory ="string"
     name ="string"
>

     No child elements
</IMAGEWORKSPACE >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for IMAGEWORKSPACE:

Attribute Usage Back to Top
directory Directory containing shapefiles. UNC pathnames can be used (\\myComputer\imagedirectory).
name Workspace name. Must be unique among all data sources.
 

Examples for IMAGEWORKSPACE:

Example 1: When specifying one image by name. 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="192837" miny="3769109" maxx="197809" maxy="3773771" name="Initial_Extent" />
      <MAPUNITS units="meters" />
      </PROPERTIES>
      <WORKSPACES>
      <IMAGEWORKSPACE directory="<path to data>" name="jai_ws-0" />
      </WORKSPACES>
      <LAYER type="image" name="reno.sid" visible="true" id="0">
      <DATASET name="reno.sid" type="image" workspace="jai_ws-0" />
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 2: When specifying multiple images in a directory. 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="0" miny="0.0" maxx="891.0" maxy="1000.0" name="Initial_Extent" />
      <MAPUNITS units="meters" />
      </PROPERTIES>
      <WORKSPACES>
      <IMAGEWORKSPACE directory="<path to data>" name="jai_ws-0" />
      </WORKSPACES>
      <LAYER type="image" name="Sierra" visible="false" id="0">
      <DATASET name="*Image" type="image" workspace="jai_ws-0" />
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 3: When specifying an image catalog. 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="0" miny="0" maxx="200000" maxy="200000"
name="Initial_Extent"/>
       <MAPUNITS units="meters" />
      </PROPERTIES>
      <WORKSPACES>
       <IMAGEWORKSPACE name="jai_ws-15" directory="<path to image catalog dbf file>"/>
      </WORKSPACES>
      <LAYER type="image" name="mammoth.dbf" visible="true" id="0">
       <DATASET name="mammoth.dbf" type="image" workspace="jai_ws-15" />
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>

Example 4: When specifying a GRID. 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="-2006008" miny="-1240677" maxx="-1993628" maxy="-1256187" name="Initial_Extent" />
       <MAPUNITS units="meters" />
      </PROPERTIES>
      <WORKSPACES>
       <IMAGEWORKSPACE directory="<path to directory above INFO directory>" name="jai_ws-15" />
      </WORKSPACES>
      <LAYER type="image" name="Mt St. Helens" visible="true" id="0">
       <DATASET name="helens" type="image" workspace="jai_ws-15" />
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>