GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-498676c526
writeascii.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <grass/gis.h>
#include <grass/raster3d.h>
Include dependency graph for writeascii.c:

Go to the source code of this file.

Functions

void Rast3d_write_ascii (void *map, const char *fname)
 Writes the cell-values of map in ascii format to file fname. The values are organized by horizontal slices. More...
 

Function Documentation

◆ Rast3d_write_ascii()

void Rast3d_write_ascii ( void *  map,
const char *  fname 
)

Writes the cell-values of map in ascii format to file fname. The values are organized by horizontal slices.

Parameters
map
fname
Returns
void

Definition at line 19 of file writeascii.c.

References FCELL_TYPE, NULL, Rast3d_fatal_error(), Rast3d_get_coords_map(), Rast3d_get_value_region(), Rast3d_tile_type_map(), and x.