Select failed in a map algebra expression because the logical expression is not valid. The reason could be the INFO selection expression and other parameters are not specified correctly. The Select command has two required inputs. The first is the input raster name, and the second parameter is a logical INFO selection expression. The logical expression must be contained within single or double quotes. For example:
sel_val5plus = select ([landuse], 'value GE 5')If you are selecting on a text field, be sure to enclose the search string with two single quotes. For example:
sel_agri = select ([landuse], 'type eq ''Forest''')
- Make sure you are using the correct syntax.
- Make sure that your logical expression makes a valid selection.