Puts values at specified locations (records) in an existing flow direction grid.
PutRasterValue ( handle_fdr , CELLS , VALUES , DirCodes )
integer: handle on the flow direction grid
Matrix containing the record numbers (absolute reference in the flow direction grid, as returned by XY2rec
) to be modified
Matrix of size size(CELLS)
containing the values to be put at the specified locations
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 ]
Puts values at specified locations (records) in an existing flow direction grid.