Adding an ArcView GIS image catalog or GRID expand/collapse all
Related Topics

IMAGEWORKSPACE

LAYER

DATASET

expand/collapse item About ArcView GIS image catalogs and GRIDs

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.

expand/collapse item How to add ArcView GIS image catalogs and GRIDs

expand/collapse item Adding an ArcView GIS image catalog

  1. Open your map configuration file in a text or XML editor.
  2. 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>

  3. 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>

  4. 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.

expand/collapse item Adding a GRID

  1. Open your map configuration file in a text or XML editor.
  2. 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>

  3. 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>

  4. 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.



Search code: @config_image