Thanks Glynn
You cannot dereference a "void*", nor perform arithmetic on one.
If you want to access the map as an array of FCELL values, use
Rast_allocate_f_buf() and Rast_get_f_row(). There is no point in using
the map's native type if you're just going to convert the data anyhow.
The problem was how to write warper function to read and convert data
from any type to any type
it is alrady done, I didn't know I must use (c*size) to instead of c
passing pointer to function
thanks a lot
Jarek
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user