GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-55b2a2bccc
put_cellhd.c File Reference

Raster Library - Write raster header. More...

#include <grass/gis.h>
#include <grass/glocale.h>
Include dependency graph for put_cellhd.c:

Go to the source code of this file.


void Rast_put_cellhd (const char *name, struct Cell_head *cellhd)
 Writes the raster file header. More...

Detailed Description

Raster Library - Write raster header.

(C) 2001-2009 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.

Original author CERL

Definition in file put_cellhd.c.

Function Documentation

◆ Rast_put_cellhd()

void Rast_put_cellhd ( const char *  name,
struct Cell_head cellhd 

Writes the raster file header.

Writes the cell file header information associated with map layer "map" into current mapset from the structure "cellhd".

namename of map
cellhdstructure holding cell header info

Definition at line 28 of file put_cellhd.c.

References _, G__write_Cell_head(), G_fatal_error(), G_fopen_new(), and name.