[GRASS5] G_find_cell2 in programmers manual

Glynn Clements glynn.clements at virgin.net
Sun Feb 1 09:36:35 EST 2004


Jaro Hofierka wrote:

> I couldn't find a description of this function in the grass programmers 
> manual:
> 
> char *
> G_find_cell2 (name, mapset)
> 
> 
> (find_cell.c in gis lib)
> 
> Is there any difference with G_find_cell?

G_find_cell2 uses G_find_file2, while G_find_cell uses G_find_file.

If the name is fully qualified (map at mapset), G_find_file removes the
@mapset from the name, while G_find_file2 leaves it intact.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list