GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
Cell_head Struct Reference

2D/3D raster map header (used also for region) More...

#include <gis.h>

Data Fields

int format
 Max number of bytes per raster data value minus 1 (raster header only) More...
 
int compressed
 Compression mode (raster header only) More...
 
int rows
 Number of rows for 2D data. More...
 
int rows3
 Number of rows for 3D data. More...
 
int cols
 Number of columns for 2D data. More...
 
int cols3
 Number of columns for 3D data. More...
 
int depths
 number of depths for 3D data More...
 
int proj
 Projection code. More...
 
int zone
 Projection zone (UTM) More...
 
double ew_res
 Resolution - east to west cell size for 2D data. More...
 
double ew_res3
 Resolution - east to west cell size for 3D data. More...
 
double ns_res
 Resolution - north to south cell size for 2D data. More...
 
double ns_res3
 Resolution - north to south cell size for 3D data. More...
 
double tb_res
 Resolution - top to bottom cell size for 3D data. More...
 
double north
 Extent coordinates (north) More...
 
double south
 Extent coordinates (south) More...
 
double east
 Extent coordinates (east) More...
 
double west
 Extent coordinates (west) More...
 
double top
 Extent coordinates (top) - 3D data. More...
 
double bottom
 Extent coordinates (bottom) - 3D data. More...
 

Detailed Description

2D/3D raster map header (used also for region)

Definition at line 412 of file gis.h.

Field Documentation

◆ bottom

double Cell_head::bottom

Extent coordinates (bottom) - 3D data.

Definition at line 468 of file gis.h.

Referenced by G__write_Cell_head3(), GS_get_aspect(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().

◆ cols

◆ cols3

int Cell_head::cols3

Number of columns for 3D data.

Definition at line 433 of file gis.h.

Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().

◆ compressed

int Cell_head::compressed

Compression mode (raster header only)

  • 0: uncompressed
  • 1: compressed
  • -1: pre GRASS 3.0

Definition at line 425 of file gis.h.

Referenced by G__write_Cell_head(), G_get_3dview_defaults(), Rast__check_format(), Rast__open_old(), and Rast__read_row_ptrs().

◆ depths

◆ east

◆ ew_res

◆ ew_res3

double Cell_head::ew_res3

Resolution - east to west cell size for 3D data.

Definition at line 450 of file gis.h.

Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().

◆ format

int Cell_head::format

Max number of bytes per raster data value minus 1 (raster header only)

Note: -1 for FP raster maps

Definition at line 418 of file gis.h.

Referenced by G__write_Cell_head(), G_get_3dview_defaults(), and Rast__open_old().

◆ north

◆ ns_res

◆ ns_res3

double Cell_head::ns_res3

Resolution - north to south cell size for 3D data.

Definition at line 454 of file gis.h.

Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().

◆ proj

◆ rows

◆ rows3

int Cell_head::rows3

Number of rows for 3D data.

Definition at line 429 of file gis.h.

Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().

◆ south

◆ tb_res

double Cell_head::tb_res

Resolution - top to bottom cell size for 3D data.

Definition at line 456 of file gis.h.

Referenced by G__write_Cell_head3(), G_adjust_Cell_head3(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().

◆ top

double Cell_head::top

Extent coordinates (top) - 3D data.

Definition at line 466 of file gis.h.

Referenced by G__write_Cell_head3(), GS_get_aspect(), N_callback_gwflow_2d(), Rast3d_region_from_to_cell_head(), and Rast3d_region_to_cell_head().

◆ west

◆ zone


The documentation for this struct was generated from the following file: