NAME
RputValueScale - put new value scale
SYNOPSIS
#include "csf.h"
CSF_VS RputValueScale
(
MAP *map,
CSF_VS valueScale
);
PARAMETERS
-
MAP *map
-
map handle
-
CSF_VS valueScale
-
new value scale
Possible values for a
CSF_VS
are as follows:
* version 1 datatypes,
these can be returned by BUT NOT passed to a csf2 function
- VS_NOTDETERMINED - Version 1.
- VS_CLASSIFIED - Version 1.
- VS_CONTINUOUS - Version 1.
* version 2 datatypes
these two can be returned by or passed to a csf2 function
- VS_BOOLEAN - Boolean, always UINT1, values: 0,1 or MV_UINT1.
- VS_NOMINAL - Nominal, UINT1 or INT4.
- VS_ORDINAL - Ordinal, UINT1 or INT4.
- VS_SCALAR - Scalar, REAL4 or (maybe) REAL8.
- VS_DIRECTION - Directional REAL4 or (maybe) REAL8, -1 means no direction.
- VS_LDD - Local drain direction, always UINT1, values: 1-9 or MV_UINT1.
* this one CANNOT be returned by NOR passed to a csf2 function
- VS_UNDEFINED - Just some value different from the rest.
DESCRIPTION
RputValueScale changes the value scale
of the map.
RETURNS
new value scale or VS_UNDEFINED in case of an error.
Possible values for a
CSF_VS
are as follows:
* version 1 datatypes,
these can be returned by BUT NOT passed to a csf2 function
- VS_NOTDETERMINED - Version 1.
- VS_CLASSIFIED - Version 1.
- VS_CONTINUOUS - Version 1.
* version 2 datatypes
these two can be returned by or passed to a csf2 function
- VS_BOOLEAN - Boolean, always UINT1, values: 0,1 or MV_UINT1.
- VS_NOMINAL - Nominal, UINT1 or INT4.
- VS_ORDINAL - Ordinal, UINT1 or INT4.
- VS_SCALAR - Scalar, REAL4 or (maybe) REAL8.
- VS_DIRECTION - Directional REAL4 or (maybe) REAL8, -1 means no direction.
- VS_LDD - Local drain direction, always UINT1, values: 1-9 or MV_UINT1.
* this one CANNOT be returned by NOR passed to a csf2 function
- VS_UNDEFINED - Just some value different from the rest.
NOTE
Note that there is no check if the cell representation
is complaint.
MERRNO
NOACCESS