PROBLEM

A GRID won't display as an Image Service

Last Published: April 25, 2020

Description

A GRID won't display as an Image Service.

Cause

GRIDS have two directories: one for the GRID data and one for the INFO directory. The references to these directories in the service's map configuration file must point to the correct locations.

Solution or Workaround



  1. Open your map configuration file (*.axl) in a text editor.
  2. Edit the IMAGEWORKSPACE element so that it points to the directory above the INFO and GRID directory; edit the DATASET name to point to the GRID data directory.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <ARCXML version="1.1">
    <CONFIG>
    <MAP>
    <PROPERTIES>
    <ENVELOPE minx="-2006008" miny="-1240677" maxx="-1993628" maxy="-1256187"
    name="Initial_Extent" />
    <MAPUNITS units="METERS" />
    </PROPERTIES>
    <WORKSPACES>
    <IMAGEWORKSPACE directory="c:\directory_above_info" name="jai_ws-15" />
    </WORKSPACES>
    <LAYER type="image" name="grid_data_directory" visible="true" id="0">
    <DATASET name="grid_data_directory" type="image" workspace="jai_ws-15" />
    </LAYER>
    </MAP>
    </CONFIG>
    </ARCXML>

  3. Save and close the file.
  4. In Administrator, refresh the Image Service.

Article ID:000002182

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic