ntd14

quarry attributes table and rasters

Discussion created by ntd14 on May 23, 2012
Latest reply on May 24, 2012 by ntd14
Hi everyone,
I have a made a code that takes user inputs of height categories and classifies calculated heights from .las data into them.
I have two questions:
How can I quarry a raster for cells with nodata or a less than zero value. I dont want to know the location or the number of them, just a simple output of yes there is one or more or no there is not any. It is so that a warning can be printed to tell the user that the script has set these cells to value zero.

The next question is how can I quarry an attributes table, I have a generated field that takes the value of the user height categories, eg low, med, or high. If the user specifies the upper limit of high to be say 10m and there is a 20m object the code fills the field as 'out of range' I would like to quarry the field to find out if there are one or more 'out of range' cells. Again only a yes there is one or more 'out of range' cells, or no there are no 'out of range' cells. This is to warn the user that they have height categories which don't include all of the data.

My system is 9.3.1

Thanks for any help

Outcomes