Gets the values of a flow direction grid at specified locations (records).
VALUES = GetRasterValue ( handle_fdr , CELLS , DirCodes )
integer: handle on the flow direction grid to be sampled
Matrix containing the record numbers (absolute reference in the flow direction grid, as returned by XY2rec
) to be read
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 ]
Output: matrix of size size(CELLS)
containing the values of the flow direction grid at the requested locations
Gets the values of a flow direction grid at specified locations (records).