GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r73122
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 390 of file gis.h.

Field Documentation

int Cell_head::cols

Number of columns for 2D data.

Definition at line 409 of file gis.h.

Referenced by D_set_region(), G__calloc(), G__malloc(), G__read_Cell_head_array(), G__realloc(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview(), G_get_3dview_defaults(), G_put_3dview(), Gs_loadmap_as_bitmap(), Gs_loadmap_as_char(), Gs_loadmap_as_float(), Gs_loadmap_as_int(), Gs_loadmap_as_short(), GS_new_surface(), I_create_cat_rast(), I_insert_patch_to_cat_rast(), I_rasterize(), IL_output_2d(), IL_resample_output_2d(), N_alloc_gradient_field_2d(), N_alloc_gradient_field_3d(), N_alloc_les_param(), N_assemble_les_2d_param(), N_assemble_les_3d_param(), N_compute_gradient_field_2d(), N_compute_gradient_field_3d(), N_compute_gradient_field_components_2d(), N_compute_gradient_field_components_3d(), N_gwflow_2d_calc_water_budget(), N_gwflow_3d_calc_water_budget(), N_init_geom_data_2d(), N_les_integrate_dirichlet_2d(), N_les_integrate_dirichlet_3d(), N_read_rast3d_to_array_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), P_Read_Raster_Region_Map(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_to_cell_head(), Rast__create_window_mapping(), Rast__open_null_write(), Rast__open_old(), Rast__read_null_bits(), Rast__write_null_bits(), Rast_create_gdal_link(), Rast_get_null_value_row(), Rast_get_vrt(), Rast_get_vrt_row(), Rast_input_window_cols(), Rast_output_window_cols(), and Rast_window_cols().

int Cell_head::cols3
int Cell_head::compressed

Compression mode (raster header only)

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

Definition at line 403 of file gis.h.

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

double Cell_head::ew_res3

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

Definition at line 428 of file gis.h.

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

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 396 of file gis.h.

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

double Cell_head::ns_res3

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

Definition at line 432 of file gis.h.

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

int Cell_head::rows

Number of rows for 2D data.

Definition at line 405 of file gis.h.

Referenced by D_set_region(), G__calloc(), G__malloc(), G__read_Cell_head_array(), G__realloc(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview(), G_get_3dview_defaults(), G_put_3dview(), Gs_loadmap_as_bitmap(), Gs_loadmap_as_char(), Gs_loadmap_as_float(), Gs_loadmap_as_int(), Gs_loadmap_as_short(), GS_new_surface(), I_create_cat_rast(), I_rasterize(), IL_output_2d(), IL_resample_output_2d(), N_alloc_gradient_field_2d(), N_alloc_gradient_field_3d(), N_alloc_les_param(), N_assemble_les_2d_param(), N_assemble_les_3d_param(), N_compute_gradient_field_2d(), N_compute_gradient_field_3d(), N_compute_gradient_field_components_2d(), N_compute_gradient_field_components_3d(), N_gwflow_2d_calc_water_budget(), N_gwflow_3d_calc_water_budget(), N_init_geom_data_2d(), N_les_integrate_dirichlet_2d(), N_les_integrate_dirichlet_3d(), N_read_rast3d_to_array_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), P_Read_Raster_Region_Map(), Rast3d_extract2d_region(), Rast3d_incorporate2d_region(), Rast3d_region_to_cell_head(), Rast__check_format(), Rast__close_null(), Rast__open_null_write(), Rast__open_old(), Rast__read_null_row_ptrs(), Rast__read_row_ptrs(), Rast__write_null_row_ptrs(), Rast__write_row_ptrs(), Rast_create_gdal_link(), Rast_get_vrt_row(), Rast_input_window_rows(), Rast_output_window_rows(), Rast_row_repeat_nomask(), and Rast_window_rows().

int Cell_head::rows3
double Cell_head::tb_res

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

Definition at line 434 of file gis.h.

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


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