[GRASS5] CELL->FP converting

Huidae Cho hdcho at geni.knu.ac.kr
Thu Oct 26 14:43:20 EDT 2000


Hi developers,

Here are some efforts for easy converting CELL to FP.
Please check these sources and give me a hint :-)

This module simply shows raster map's values.      
There are three functions and two data types.

is_null_value() can be used for CRAY instead of G_is_null_value().
value2str() is used to print values of various type of raster.
cpvalue() copies src[scol] to dest[dcol].

RASTER_PTR union may free us from complicated typecasting.
RASTER_MAP_PTR has raster map type and it's data.

Just try. :-)


Best Regards,
Huidae Cho
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 159 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20001027/9d69bf18/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 3572 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20001027/9d69bf18/attachment-0001.obj


More information about the grass-dev mailing list