000199: Failed to add Colormap.

Description

The colormap cannot be added to the raster dataset because the raster dataset is not an integer type or the raster format doesn't allow modification of the colormap

Solution

Check the raster dataset properties to make sure it is an integer type.