-
Notifications
You must be signed in to change notification settings - Fork 12
Surrogate Color Tables
This feature allows other 'surrogate' color tables to be written into a file and a column in the attribute table used to 'look' up the color to be used from one of these surrogate color tables.
Use the 'viewerwritetable' utility. You will need a file that contains the color table you wish to write. Use like this:
viewerwritetable --source=/path/to/source/file.img --dest=output.img --name=mycolors
viewerwritetable --print=output.img
viewerwritetable --remove=output.img --name=mycolors
This only works with Thematic data. In the Query Window, decide on the column to use as a lookup (must be integer). Right click on the column and select 'Set column as Color Table Lookup'. If there is one surrogate colour table available, it will be used. Otherwise you will be asked to select which color table to use. Values that are non-zero in this column will be used as a lookup into the selected color table for display. If this column is edited, the lookup will happen again and the screen updated.