GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Raster library - Functions to read and write raster "units" and "vertical datum" meta-data info. More...
#include <stdio.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
char * | Rast_read_units (const char *name, const char *mapset) |
Get a raster map's units metadata string. More... | |
void | Rast_write_units (const char *name, const char *str) |
Write a string to a raster map's units metadata file. More... | |
char * | Rast_read_vdatum (const char *name, const char *mapset) |
Get a raster map's vertical datum metadata string. More... | |
void | Rast_write_vdatum (const char *name, const char *str) |
Write a string into a raster's vertical datum metadata file. More... | |
Raster library - Functions to read and write raster "units" and "vertical datum" meta-data info.
(C) 2007-2009 by Hamish Bowman, and the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file raster_metadata.c.
char* Rast_read_units | ( | const char * | name, |
const char * | mapset | ||
) |
Get a raster map's units metadata string.
Read the raster's units metadata file and put string in str
name | raster map name |
mapset | mapset name |
Definition at line 36 of file raster_metadata.c.
char* Rast_read_vdatum | ( | const char * | name, |
const char * | mapset | ||
) |
Get a raster map's vertical datum metadata string.
Read the raster's vertical datum metadata file and put string in str
name | raster map name |
mapset | mapset name |
Definition at line 65 of file raster_metadata.c.
void Rast_write_units | ( | const char * | name, |
const char * | str | ||
) |
Write a string to a raster map's units metadata file.
Raster map must exist in the current mapset.
name | raster map name |
str | string containing data to be written |
Definition at line 49 of file raster_metadata.c.
void Rast_write_vdatum | ( | const char * | name, |
const char * | str | ||
) |
Write a string into a raster's vertical datum metadata file.
Raster map must exist in the current mapset.
name | raster map name |
str | string containing data to be written |
Definition at line 79 of file raster_metadata.c.