While you can add individual images, a group of images from the same directory, and ArcSDE raster layers using Author, you must manually add ArcView GIS image catalogs and GRIDs.
- Open your map configuration file in a text or XML editor.
- In the WORKSPACES section, add a reference to an IMAGEWORKSPACE. Be sure the name is unique within the map configuration file. For the directory, point to the location of the image catalog DBF file, not the location of the images themselves.
<WORKSPACES>
<IMAGEWORKSPACE name="jai_ws-1" directory="<path to image catalog dbf file>"/>
</WORKSPACES>
|
- Add a layer referencing the image catalog. In the layer, be sure you choose an ID that is unique within the map configuration file. In the DATASET, name refers to the name of the image catalog DBF file. The type is image. The workspace references the name you assigned in the previous step.
<LAYER type="image" name="Image Catalog" visible="true" id="catalog_layer">
<DATASET name="mycatalog.dbf" type="image" workspace="jai_ws-1" />
</LAYER>
|
- Save your changes to the map configuration file.
Once you have added an image catalog, you can continue opening and editing the map configuration file in Author. However, the images in the catalog will not display.
- Open your map configuration file in a text or XML editor.
- In the WORKSPACES section, add a reference to an IMAGEWORKSPACE. A GRID has two directories: one for the GRID data and one for the INFO files. Both these directories should be grouped together under a parent directory. The directory attribute points to the parent directory above the INFO and GRID directories. A *.clr file can be included to color the GRID. This file should have the same name as the GRID and be included in the parent directory.
<WORKSPACES>
<IMAGEWORKSPACE directory="<path to directory above INFO directory>" name="jai_ws-1"/>
</WORKSPACES>
|
- Add a layer referencing the GRID. In the layer, be sure you choose an id that is unique within the map configuration file. In the DATASET, the name refers to the name of the GRID directory. The type is image. The workspace references the name you assigned in the previous step.
<LAYER type="image" name="mygrid" visible="true" id="grid_layer">
<DATASET name="grid_example" type="image" workspace="jai_ws-1" />
</LAYER>
|
- Save your changes to the map configuration file.
Once you have added a GRID, you should not open or save your map configuration file in Author. The GRID layer will be removed.