17 #include <grass/gis.h>
34 fprintf(fd,
"proj: %d\n", cellhd->proj);
35 fprintf(fd,
"zone: %d\n", cellhd->zone);
38 fprintf(fd,
"north: %s\n", buf);
41 fprintf(fd,
"south: %s\n", buf);
44 fprintf(fd,
"east: %s\n", buf);
47 fprintf(fd,
"west: %s\n", buf);
49 fprintf(fd,
"cols: %d\n", cellhd->cols);
50 fprintf(fd,
"rows: %d\n", cellhd->rows);
53 fprintf(fd,
"e-w resol: %s\n", buf);
56 fprintf(fd,
"n-s resol: %s\n", buf);
59 fprintf(fd,
"format: %d\n", cellhd->format);
60 fprintf(fd,
"compressed: %d\n", cellhd->compressed);
82 fprintf(fd,
"top: %.15f\n", cellhd->top);
83 fprintf(fd,
"bottom: %.15f\n", cellhd->bottom);
85 fprintf(fd,
"cols3: %d\n", cellhd->cols3);
86 fprintf(fd,
"rows3: %d\n", cellhd->rows3);
87 fprintf(fd,
"depths: %d\n", cellhd->depths);
90 fprintf(fd,
"e-w resol3: %s\n", buf);
93 fprintf(fd,
"n-s resol3: %s\n", buf);
96 fprintf(fd,
"t-b resol: %s\n", buf);
void G__write_Cell_head(FILE *fd, const struct Cell_head *cellhd, int is_cellhd)
Write cell header or window.
void G__write_Cell_head3(FILE *fd, const struct Cell_head *cellhd, int is_cellhd)
Write 3D cell header or window.