Skip to content
Prev 8031 / 29559 Next

Obtaining 3d surface area using polygon layer and DEM grid

On Wed, Apr 14, 2010 at 5:03 PM, Barry Rowlingson
<b.rowlingson at lancaster.ac.uk> wrote:

            
Right, well I didn't realise you could call ISNA(x) from .C code.
I've just implemented something for handling NA...

 When considering a cell with an NA value, the area contribution is
zero (whatever its neighbours are)

 When considering a non-NA cell with NA-valued neighbours, pretend the
neighbour cell had the same value as the considered cell.

 I've implemented this, and it seems to be consistent with
expectations... Will sort out docs tomorrow.

Barry