Quantcast
Channel: Active questions tagged raster-calculator - Geographic Information Systems Stack Exchange
Viewing all articles
Browse latest Browse all 190

Specify field of raster in Raster Calculator expression of ArcMap

$
0
0

In Raster Calculator I need to apply the next expression:

Con("raster1%","field3")==Integer, Lookup("%raster2%","field3"),Lookup("raster1%","field3"))

or more specifically:

Con("%alteracionMapeada_raster%"==8,Lookup("%swir%","CLASS_NAME"),Lookup("%alteracionMapeada_raster%","OCURREN16"))

The "%raster2%","field3" and "raster1%","field3" are categorical values so I need to get those values (form "%raster2%","field3" and "raster1%","field3") in the output raster cells. The problem is that the results is just one numerical field (no other fields with categorical).

I have already checked Specify a field in attribute table with raster calculator and the answer about the lookup tool has very promising but didn't work.


Viewing all articles
Browse latest Browse all 190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>