What is wrong with this syntax when using the Raster Calculator tool? (9.3)
I'm wondering what might be the correct syntax when using the ArcGIS 10 Raster Calculator tool compared to the old 9.3 Single Output Map Algebra tool?
Two screenshots are attached.
The first attachment shows what was correct when using the ArcGIS 9.3 Single Output Map Algebra tool
The second attachment shows how I tried to do the same using the ArcGIS 10 Raster Calculator tool which did not work!
What might be the correct syntax to such expression when using the Raster Calculator tool?
Thank you for the help
Best
Jamal
(Original post date 5/17/2012, edited to fix garbled formatting from old forums conversion by Curtis Price 5/18/2015)
Solved! Go to Solution.
Hi Jamal,
Dot notation does not work in the 10.0 Raster Calculator. You will need to use the Lookup function. Something like this:
SetNull(Lookup("Raster","COUNT") <= 250, "Raster" )
Using raster attribute other than 'value' in map algebra
Lookup function in v10.0 Map Algebra: implementing dot notation in v10.0?
Here, try this:
SetNull(("StreamOrder"==1) & ( Lookup("StreamLink","count") <= 250), "StreamLink")
Hey Jamal, could you please move this to Spatial Analyst - it really doesn't belong here in Story Maps.
I moved this discussion to Spatial Analyst. Thanks Curtis.