SHAPEWORKSPACE  Examples

Used in:  CONFIG   REQUEST  
Servers:  Image   Query   Feature   Extract   Geocode  
Parent elements:  WORKSPACES  

<SHAPEWORKSPACE Attribute Description Table

     directory ="string"
     name ="string"
     codepage ="string"
     geoindexdir ="string"  [same as directory with shapefile]
     shared ="true | false"  [false]
>

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


Description:


Restrictions:


Notes:


Attribute Descriptions for SHAPEWORKSPACE:

Attribute Usage Back to Top
codepage 1 Allows the codepage setting in the DBF header to be redefined. The value is the name of the ICU transcoder. Examples include cp1252 and UTF8.
directory 2 Directory containing shapefiles. UNC pathnames can be used (\\myComputer\shapefiledirectory).
geoindexdir 3 Directory where geocoding index is built.
name 4 Workspace name. Must be unique among all data sources.
shared 5 When set to "true", the ArcIMS Spatial Server checks if a shapefile has been modified outside of ArcIMS. While a shapefile is being edited, 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 "true" unless safeguards are in place to assure that the shapefile is not edited. Note: In general, access to shapefiles is much faster if the shapefiles reside on the same machine as the ArcIMS Spatial Server. If the shapefiles are on a separate machine, access is faster when set to "false", but the integrity of the shapefile is at risk.
 

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>