GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73566
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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, fclose(), NULL, Rast3d_fatal_error(), Rast3d_get_coords_map(), Rast3d_get_value_region(), Rast3d_tile_type_map(), and x.