1

I have a raster layer (let's call it RL) that is pulling a subset of data from a very large geodatabase. Let's say it has the following attribute table:

OBJECTID Value OtherValue
0 200 600
1 300 700
100 30000 800000

Ultimately, I want to run a geoprocessing routine on the OtherValue column. However, whenever I reference RL in any geoprocessing service, it always defaults to the Value field, and not the OtherValue field like I want it to.

How can I access other fields in the raster table in a geoprocessing service or even display it on the map?

1 Answer 1

0

Use the Lookup tool/function:

Creates a raster by looking up values in another field in the table of the input raster.

enter image description here

outRas = Lookup("RL", "OtherValue")
1
  • That does the trick. Thanks for the suggestion!
    – kroppian
    Feb 28, 2022 at 14:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.