GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Raster Library - virtual GRASS raster maps. More...
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/gprojects.h>
#include <grass/glocale.h>
#include "R.h"
Go to the source code of this file.
Functions | |
int | cmp_wnd (const void *a, const void *b) |
struct R_vrt * | Rast_get_vrt (const char *vname, const char *vmapset) |
void | Rast_close_vrt (struct R_vrt *vrt) |
int | Rast_get_vrt_row (int fd, void *buf, int row, RASTER_MAP_TYPE data_type) |
Raster Library - virtual GRASS raster maps.
(C) 2010 by 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 vrt.c.
int cmp_wnd | ( | const void * | a, |
const void * | b | ||
) |
Definition at line 21 of file vrt.c.
Referenced by Rast_get_vrt().
void Rast_close_vrt | ( | struct R_vrt * | vrt | ) |
Definition at line 150 of file vrt.c.
References tileinfo::clist, G_free(), G_free_ilist(), tileinfo::mapset, tileinfo::name, R_vrt::tilecount, R_vrt::tileinfo, and R_vrt::tlist.
struct R_vrt* Rast_get_vrt | ( | const char * | vname, |
const char * | vmapset | ||
) |
Definition at line 47 of file vrt.c.
References _, tileinfo::cellhd, tileinfo::clist, cmp_wnd(), Cell_head::cols, Cell_head::east, Cell_head::ew_res, G_calloc, G_fatal_error(), G_find_raster(), G_find_raster2(), G_fopen_old_misc(), G_getl2(), G_ilist_add(), G_new_ilist(), G_realloc, G_store(), GNAME_MAX, tileinfo::mapset, name, tileinfo::name, Cell_head::north, NULL, Cell_head::proj, PROJECTION_LL, Rast_get_cellhd(), R__::rd_window, Cell_head::south, R_vrt::tilecount, R_vrt::tileinfo, R_vrt::tlist, and Cell_head::west.
Referenced by Rast__open_old().
int Rast_get_vrt_row | ( | int | fd, |
void * | buf, | ||
int | row, | ||
RASTER_MAP_TYPE | data_type | ||
) |
Definition at line 171 of file vrt.c.
References CELL_TYPE, tileinfo::cellhd, tileinfo::clist, Cell_head::cols, DCELL_TYPE, FCELL_TYPE, R__::fileinfo, G_free(), tileinfo::mapset, ilist::n_values, tileinfo::name, Cell_head::north, Cell_head::ns_res, Rast__open_old(), Rast_allocate_input_buf(), Rast_cell_size(), Rast_get_row_nomask(), Rast_is_null_value(), Rast_set_null_value(), Rast_unopen(), R__::rd_window, Cell_head::rows, Cell_head::south, R_vrt::tileinfo, R_vrt::tlist, ilist::value, and fileinfo::vrt.