SHAPEWORKSPACE  Examples

Used in:  CONFIG   REQUEST  
Parent elements:  WORKSPACES  

<SHAPEWORKSPACE Attribute Description Table

     directory ="string"
     name ="string"
     codepage ="integer"  [codepage defined in DBF header or system active codepage]
     geoindexdir ="string"  [same as directory with shapefile]
     shared ="true | false"  [true]
>

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


Description:


Restrictions:


Notes:


Attribute Descriptions for SHAPEWORKSPACE:

Attribute Usage Back to Top
codepage Sets ID of codepage used for all DBF tables from this workspace; all available codepages are in ArcIMS3.0/Server/codepage directory.
directory Directory containing shapefiles. UNC pathnames can be used (\\myComputer\shapefiledirectory).
geoindexdir Directory where geocoding index is built.
name Workspace name. Must be unique among all data sources.
shared When set to "true", the ArcIMS Spatial Server checks if a shapefile has been modified outside of ArcIMS. While a shapefile is being editied, ArcIMS sends a message to the ArcIMS Spatial Server log files saying that an update is in progress. When set to "false", the ArcIMS Spatial Server does not check whether a shapefile has been updated. Access to the shapefile is faster, but the integrity of the shapefile is at risk if it is modified. It is recommended to use the default of "true" unless safeguards are in place to assure that the shapefile is not edited.
 

Examples for SHAPEWORKSPACE:

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="-178.21" miny="18.92" maxx="-66.96" maxy="71.41" name="Initial_Extent" />
        <MAPUNITS units="decimal_degrees" />
      </PROPERTIES>
      <WORKSPACES>
        <SHAPEWORKSPACE name="shp_ws-0" directory="<path to USA ESRIDATA>"/>
      </WORKSPACES>
      <LAYER type="featureclass" name="CITIES" visible="true" id="2">
      <DATASET name="CITIES" type="point" workspace="shp_ws-0" />
      <SIMPLERENDERER>
        <SIMPLEMARKERSYMBOL type="square" width="5" />
      </SIMPLERENDERER>
      </LAYER>
    </MAP>
  </CONFIG>
</ARCXML>