[GRASS-dev] should G_raster_map_type() use G_find_cell2() ?

Glynn Clements glynn at gclements.plus.com
Thu Oct 26 14:27:36 EDT 2006

Hamish wrote:

> G_raster_map_type() calls G_find_cell(), which chops off the
> @othermapset part of a map's name.
> should it call G_find_cell2(), which leaves the map name alone?

Maybe, but you would need to examine everything which uses
G_raster_map_type() (71 files) in case something expects this

The quick solution is to pass the name/mapset returned from
G_find_file() rather than the original qualified name.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list