GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
find_rast3d.c
Go to the documentation of this file.
1
/*!
2
\file lib/gis/find_rast3d.c
3
4
\brief GIS library - Find a 3D raster map
5
6
(C) 2001-2009, 2011 by the GRASS Development Team
7
8
` This program is free software under the GNU General Public License
9
(>=v2). Read the file COPYING that comes with GRASS for details.
10
11
\author Original author CERL
12
*/
13
14
#include <
grass/gis.h
>
15
16
/*!
17
\brief Search for a 3D raster map in current search path or
18
in a specified mapset.
19
20
Note: rejects all names that begin with '.'
21
22
\param name map name
23
\param mapset mapset to search. ("" for search path)
24
25
\return pointer to a string with name of mapset where the map was found
26
\return NULL if not found
27
*/
28
const
char
*
G_find_raster3d
(
const
char
*
name
,
const
char
*mapset)
29
{
30
return
G_find_file2_misc
(
"grid3"
,
"cell"
,
name
, mapset);
31
}
G_find_file2_misc
const char * G_find_file2_misc(const char *, const char *, const char *, const char *)
Searches for a misc file from the mapset search list or in a specified mapset. (look but don't touch)
Definition:
find_file.c:257
G_find_raster3d
const char * G_find_raster3d(const char *name, const char *mapset)
Search for a 3D raster map in current search path or in a specified mapset.
Definition:
find_rast3d.c:28
gis.h
name
const char * name
Definition:
named_colr.c:6
lib
gis
find_rast3d.c
Generated on Thu Nov 21 2024 07:03:26 for GRASS GIS 8 Programmer's Manual by
1.9.1