[GRASS-dev] r.example question
Glynn Clements
glynn at gclements.plus.com
Thu Nov 26 20:58:00 EST 2009
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 <glynn at gclements.plus.com>
More information about the grass-dev
mailing list