GRASS GIS 7 Programmer's Manual  7.0.5(2016)-r00000
find_rast.c
Go to the documentation of this file.
1 
15 #include <grass/gis.h>
16 
55 const char *G_find_raster(char *name, const char *mapset)
56 {
57  G_debug(1, "G_find_raster(): name=%s mapset=%s", name, mapset);
58  return G_find_file("cell", name, mapset);
59 }
60 
76 const char *G_find_raster2(const char *name, const char *mapset)
77 {
78  G_debug(1, "G_find_raster2(): name=%s mapset=%s", name, mapset);
79  return G_find_file2("cell", name, mapset);
80 }
const char * G_find_raster(char *name, const char *mapset)
Find a raster map.
Definition: find_rast.c:55
const char * G_find_file(const char *element, char *name, const char *mapset)
Searches for a file from the mapset search list or in a specified mapset.
Definition: find_file.c:203
int G_debug(int level, const char *msg,...)
Print debugging message.
Definition: debug.c:65
const char * G_find_raster2(const char *name, const char *mapset)
Find a raster map (look but don&#39;t touch)
Definition: find_rast.c:76
const char * name
Definition: named_colr.c:7
const char * G_find_file2(const char *element, const char *name, const char *mapset)
Searches for a file from the mapset search list or in a specified mapset. (look but don&#39;t touch) ...
Definition: find_file.c:247