20 #include <sys/types.h> 62 G_warning(
_(
"Unable to move temp raster map <%s> to 3D raster map <%s>"),
92 (
long)(map->
offset -
sizeof(
int) -
sizeof(
long)),
104 if (write(map->
data_fd, <mp,
sizeof(
long)) !=
sizeof(
long)) {
109 if (!close_new(map)) {
119 if (close(map->
data_fd) != 0) {
129 if (!close_old(map)) {
152 if (!close_cell_new(map)) {
158 if (!close_cell_old(map)) {
int Rast3d_range_write(RASTER3D_Map *)
Writes the range which is stored in the range structure of map. (This function is invoked automatical...
int Rast3d_write_cats(const char *, struct Categories *)
Writes the categories stored in the cats structure into the categories file for map name in the curre...
int Rast3d_close(RASTER3D_Map *map)
Close 3D raster map files.
#define RASTER3D_WRITE_DATA
int Rast3d_dispose_cache(RASTER3D_Map *)
int Rast3d_write_header(RASTER3D_Map *, int, int, double, double, double, double, double, double, int, int, int, double, double, double, int, int, int, int, int, int, int, int, int, int, int, char *, int, int)
int Rast3d_long_encode(long *, unsigned char *, int)
void Rast3d_filename(char *, const char *, const char *, const char *)
int Rast3d_remove_color(const char *)
Removes the primary and/or secondary color file.
int Rast3d_write_history(const char *, struct History *)
write raster3d History file
#define RASTER3D_CELL_ELEMENT
Raster history info (metadata)
int Rast3d_flush_index(RASTER3D_Map *)
void Rast_init_cats(const char *, struct Categories *)
Initialize category structure.
void Rast_short_history(const char *, const char *, struct History *)
Initialize history structure.
int Rast_command_history(struct History *)
Save command line to raster history structure.
int Rast3d_write_ints(int, int, const int *, int)
void G_warning(const char *,...) __attribute__((format(printf
void Rast_free_cats(struct Categories *)
Free category structure memory.
int Rast3d_flush_all_tiles(RASTER3D_Map *)
void Rast3d_free(void *)
Same as free (ptr).