HOW TO
Instructions provided will explain the steps to add an image catalog to a map configuration file. Image catalogs must be added to map configuration files manually using a text editor.
Warning:
This example will not work if the example data are not located in C:\ex_imgcat.
Note:
It may be necessary to change 'Files of Type' to 'All Files' to see img_cat.axl.
Code:
<WORKSPACES>
<SHAPEWORKSPACE name="shp_ws-0" directory="C:\ex_imgcat" />
<IMAGEWORKSPACE name="img_ws-0" directory="C:\ex_imgcat" />
</WORKSPACES>
Code:
<IMAGEWORKSPACE name="img_ws-0" directory="C:\ex_imgcat" />
</WORKSPACES>
<LAYER type="image" name="Image Catalog" visible="true" id="img_cat" >
Note:
Refer to the ArcIMS ArcXML Programmer's reference for optional LAYER attributes.
Code:
<IMAGEWORKSPACE name="img_ws-0" directory="C:\ex_imgcat" />
</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, then ArcIMS Administrator will display a warning yielding the following message: "ImageServer: Layer Image Catalog cannot be created. Dataset not found."
The map service will build but the image catalog will not be available in the client viewer.
Code:
<IMAGEWORKSPACE name="img_ws-0" directory="C:\ex_imgcat" />
</WORKSPACES>
<LAYER type="image" name="Image Catalog" visible="true" id="img_cat" >
<DATASET name="img_cat.dbf" type="image" workspace="img_ws-0" />
</LAYER>
Note:
Click Yes if the prompt appears with the following message: 'You are about to save the document in a Text-Only format, which will remove all formatting. Are you sure you want to do this?'
Article ID:000006263
Get help from ArcGIS experts
Download the Esri Support App