English

Problem: IMAGEGRID fails to create a colormap

Description

When converting a pseudocolor image to a grid, the IMAGEGRID command fails to create the specified colormap file. The GRIDPAINT command confirms this.

Arc:IMAGEGRID my_image my_grid my_grid
Arc: AP
Arcplot: MAPE my_grid
Arcplot: GRIDPAINT my_grid # # # my_grid
ArcPlot: Colormap file my_grid not found, using default

Cause

If the specified output colormap file name is the same as the output grid, and no extension is provided for it, the colormap file will not be created.

Solution or Workaround

  • Use a unique colormap file name:

    Code:
    Arc:IMAGEGRID my_image my_grid my_colormap

  • Use the same name as the output grid but specify a colormap file extension.

    Code:
    Arc:IMAGEGRID my_image my_grid my_grid.clr


    Note:
    The colormap file extension is arbitrary. You can assign any extension as long as you specify it when using the colormap.