Hexagon Geospatial

Spatial Modeler

Discuss topics with other Hexagon Geospatial Product pioneers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
New Contributor
Posts: 2
Registered: ‎03-20-2017
Accepted Solution

Create new raster by attibute



I work with Spatial Model and I want to create a new raster where a pixel value will be equal to an specified attribute (it's integer value) in original raster.
How I can to do it, to transfer an attribute value to a pixel value? I tried "Expression" operator using "Conditional" and "Read attribute" functions but it make a table-type output.


Thanks in advance.

Technical Evangelist
Posts: 761
Registered: ‎10-01-2015

Re: Create new raster by attibute



I think you should just be able to perform a "Direct Lookup" (with the Operator of the same name) of the raster stream through the Table you have generated:




Or "Attribute Lookup" might bea simpler approahc for what you describe:




Or an example using "Lookup":





Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
New Contributor
Posts: 2
Registered: ‎03-20-2017

Re: Create new raster by attibute

Huge thanks! 

Attribute Lookup is exactly what I looked for! 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.