HOW TO
Instructions provided describe how to add an image catalog to a map configuration file on UNIX. Image catalogs must be added to map configuration files manually using a text editor.
Code:
cd /usr/tmp
mkdir ic_test
Code:
cd /usr/tmp/ic_test
gunzip sample_ic.tar.gz
tar -xvf sample_ic.tar
Warning:
This example does not work if the example data and AXL file are not located in /usr/tmp/ic_test
Code:
<WORKSPACES>
<SHAPEWORKSPACE name="shp_ws-0" directory="/usr/tmp/ic_test" />
<IMAGEWORKSPACE name="img_ws-0" directory="/usr/tmp/ic_test" />
</WORKSPACES>
Code:
<IMAGEWORKSPACE name="img_ws-0" directory="/usr/tmp/ic_test" />
</WORKSPACES>
<LAYER type="image" name="Image Catalog" visible="true" id="img_cat" >
Note:
Refer to the ArcIMS ArcXML Programmer's Reference Guide for other optional LAYER attributes.
Code:
<IMAGEWORKSPACE name="img_ws-0" directory="/usr/tmp/ic_test" />
</WORKSPACES>
<LAYER type="image" name="Image Catalog" visible="true" id="img_cat" >
<DATASET name="img_cat.dbf" type="image" workspace="img_ws-0" />
Warning:
The .dbf extension must be added to the end of the image catalog name specified in the name attribute for the DATASET name element. If this extension is not included, ArcIMS Administrator displays the following warning message: 'ImageServer: Layer Image Catalog cannot be created. Dataset not found'. The map service will build but the image catalog will not available in the client viewer.
Code:
<IMAGEWORKSPACE name="img_ws-0" directory="/usr/tmp/ic_test" />
</WORKSPACES>
<LAYER type="image" name="Image Catalog" visible="true" id="img_cat" >
<DATASET name="img_cat.dbf" type="image" workspace="img_ws-0" />
</LAYER>
Article ID:000007691
Get help from ArcGIS experts
Download the Esri Support App