Showing results for 
Search instead for 
Do you mean 

Attach Attributes to Raster

by Technical Evangelist on ‎09-29-2015 01:50 PM - edited on ‎02-21-2020 06:48 AM by Community Manager (1,206 Views)

Download model


This Model demonstrates how to use the Raster Attribute Output operator to attach Tables (such as Color, Opacity, etc., but could be Class Names or some other set of attributes) onto a Thematic output produced by the Spatial Modeler. The Model takes a floating point input, such as NDVI (which should preferably have NoData set on it), normalizes the distribution of data by stretching to an 8-bit range and outputs a thematic image file. It then attaches a standardized color palette to the output image by using the Raster Attribute Output operator to read and attach custom input Tables which have been defined to provide a color ramp (256 colors, ramped Red to Green) and an Opacity attribute for each Color.