Colormap

1234
2
04-07-2011 07:16 AM
SachinChand
Occasional Contributor
I have several clr files.  I'm attempting to import them into a raster(gif), input my color symbology and then export the symbology for use in other products.  The clr files are in the following format and the cell values go all the way to 100:

0 255 200 255
0.5     255 190 255
1 255 180 255
1.5     253 178 253
2 251 165 251
2.5     250 160 249
3 248 150 248   
3.5     245 148 245
4 243 145 243
4.5     240 143 240
5 239 140 239
5.5     237 138 237
6 235 135 235
6.5     233 132 233
7 231 130 231
7.5     229 128 229
8 227 125 227
8.5     224 123 226
9 221 120 225
9.5     219 118 223
10 216 115 220

The issue I'm having is that the colormap import process does not import the decimal cell number values, just the whole numbers.  Is this normal?  Does colormap/clr not support decimal values?
My guess is the issue is due to the raster not having decimal cell values.  Is it possible to create a raster w/decimal cell values?
0 Kudos
2 Replies
RobertBerger
New Contributor III
Greetings,

Yes, I believe color maps can only be applied to integer values (not double / decimal). Also, there is a limit of unique values that can be represented (16 bit = 65.000). You can read more in the tools help.
So: you can create data with decimal cell values, but you cannot add a colormap to these. Decimal point datasets are usually considered floating point datasets.
Hope this helps.

Robert
0 Kudos
SachinChand
Occasional Contributor
Hi EinBerliner, thank you for the response.  While it is not what I want to hear, at least I know the limitations.  We are trying to create color map symbology and are inputting the RGB values manually because the cell/pixel values contain negative and decimal values.
0 Kudos