<< Raster analysis | Raster analysis | GetRasterValue >>

CLaRiNet 0.1 beta >> Raster analysis > GetFlowDirValue

# GetFlowDirValue

Gets the values of a flow direction grid at specified locations (records).

### Calling Sequence

    VALUES = GetRasterValue ( handle_fdr , CELLS , DirCodes )

### Arguments

handle_fdrras

  integer: handle on the flow direction grid to be sampled

CELLS

  Matrix containing the record numbers (absolute reference in the flow direction grid, as returned by `XY2rec`) to be read

DirCodes

  3 x 3 matrix containing the codification of the 8 possible flow directions. ESRI convention is [ 32 , 64 , 128 ; 16 , -9999 , 1 ; 8 , 4 , 2 ]

VALUES

  Output: matrix of size `size(CELLS)` containing the values of the flow direction grid at the requested locations

### Description

Gets the values of a flow direction grid at specified locations (records).

### Examples

### See Also

- XY2rec, CreateFlowDirFromBinary

### Authors

- Nicolas LE MOINE

<< Raster analysis | Raster analysis | GetRasterValue >>