|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
3D Raster Library - Close 3D raster file More...
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <unistd.h>#include <grass/raster.h>#include <grass/glocale.h>#include "raster3d_intern.h"
Go to the source code of this file.
Functions | |
| int | Rast3d_close (RASTER3D_Map *map) |
| Close 3D raster map files. | |
3D Raster Library - Close 3D raster file
(C) 1999-2009, 2011 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 raster3d/close.c.
| int Rast3d_close | ( | RASTER3D_Map * | map | ) |
Close 3D raster map files.
Closes g3d-file. If map is new and cache-mode is used for map then every tile which is not flushed before closing is flushed.
| map | pointer to RASTER3D_Map to be closed |
Definition at line 153 of file raster3d/close.c.
References _, RASTER3D_Region::bottom, RASTER3D_Region::cols, RASTER3D_Map::compression, RASTER3D_Map::data, RASTER3D_Region::depths, RASTER3D_Region::east, RASTER3D_Region::ew_res, RASTER3D_Map::fileName, G_warning(), RASTER3D_Map::hasIndex, RASTER3D_Map::index, RASTER3D_Region::north, RASTER3D_Region::ns_res, RASTER3D_Map::offset, RASTER3D_Map::operation, RASTER3D_Map::precision, RASTER3D_Region::proj, Rast3d_dispose_cache(), Rast3d_free(), Rast3d_write_header(), RASTER3D_WRITE_DATA, RASTER3D_Map::region, RASTER3D_Region::rows, RASTER3D_Region::south, RASTER3D_Region::tb_res, RASTER3D_Map::tileLength, RASTER3D_Map::tileX, RASTER3D_Map::tileY, RASTER3D_Map::tileZ, RASTER3D_Region::top, RASTER3D_Map::type, RASTER3D_Map::unit, RASTER3D_Map::useCache, RASTER3D_Map::useLzw, RASTER3D_Map::useRle, RASTER3D_Map::useXdr, RASTER3D_Map::version, RASTER3D_Map::vertical_unit, RASTER3D_Region::west, and RASTER3D_Region::zone.
Referenced by close_g3d_file(), N_read_rast3d_to_array_3d(), N_write_array_3d_to_rast3d(), Rast3d_change_precision(), Rast3d_change_type(), Rast3d_compare_files(), Rast3d_make_aligned_volume_file(), Rast3d_mask_close(), and Rast3d_retile().