António Rocha wrote:

> In r.example this is performed
>     /* G_open_cell_old - returns file destriptor (>0) */
>     if ((infd = G_open_cell_old(name, mapset)) < 0)
>     G_fatal_error(_("Unable to open raster map <%s>"), name);
> 
> Does this means that r.example only reads integer maps? I'm asking this 
> because in GRASS manual,  G_open_cell_old is described as:
> 
> Open an existing integer raster map (cell).

G_open_cell_old() will open both integer and FP maps. "cell" is being
used as a synonym for "raster"; the terminology pre-dates the support
for FP maps.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to