|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
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) | |
| int | compressed |
| Compression mode (raster header only) | |
| int | rows |
| Number of rows for 2D data. | |
| int | rows3 |
| Number of rows for 3D data. | |
| int | cols |
| Number of columns for 2D data. | |
| int | cols3 |
| Number of columns for 3D data. | |
| int | depths |
| number of depths for 3D data | |
| int | proj |
| Projection code. | |
| int | zone |
| Projection zone (UTM) | |
| double | ew_res |
| Resolution - east to west cell size for 2D data. | |
| double | ew_res3 |
| Resolution - east to west cell size for 3D data. | |
| double | ns_res |
| Resolution - north to south cell size for 2D data. | |
| double | ns_res3 |
| Resolution - north to south cell size for 3D data. | |
| double | tb_res |
| Resolution - top to bottom cell size for 3D data. | |
| double | north |
| Extent coordinates (north) | |
| double | south |
| Extent coordinates (south) | |
| double | east |
| Extent coordinates (east) | |
| double | west |
| Extent coordinates (west) | |
| double | top |
| Extent coordinates (top) - 3D data. | |
| double | bottom |
| Extent coordinates (bottom) - 3D data. | |
| double Cell_head::bottom |
Extent coordinates (bottom) - 3D data.
Definition at line 502 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), G_adjust_Cell_head3(), GS_get_aspect(), GS_set_viewport(), Rast3d_is_valid_location(), and Vect_write_ascii().
| int Cell_head::cols |
Number of columns for 2D data.
Definition at line 465 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_to_box(), G_get_3dview_defaults(), GS_get_dims(), Gs_loadmap_as_bitmap(), Gs_loadmap_as_char(), Gs_loadmap_as_float(), Gs_loadmap_as_int(), Gs_loadmap_as_short(), IL_output_2d(), N_init_geom_data_2d(), N_read_rast3d_to_array_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), Rast__open_old(), Rast_get_vrt(), and Rast_get_vrt_row().
| int Cell_head::cols3 |
Number of columns for 3D data.
Definition at line 467 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), and G_adjust_Cell_head3().
| int Cell_head::compressed |
Compression mode (raster header only)
Definition at line 459 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head(), G_get_3dview_defaults(), and Rast__open_old().
| int Cell_head::depths |
number of depths for 3D data
Definition at line 469 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), G_adjust_Cell_head3(), N_read_rast3d_to_array_3d(), and N_write_array_3d_to_rast3d().
| double Cell_head::east |
Extent coordinates (east)
Definition at line 496 of file gis.h.
Referenced by D_set_region(), G__read_Cell_head_array(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_easting(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview_defaults(), G_point_in_window(), G_window_overlap(), G_window_percentage_overlap(), get_pj_area(), Gp_load_sites(), Gv_load_vect(), Rast3d_coord2location(), Rast3d_is_valid_location(), Rast3d_location2coord(), Rast3d_location2coord2(), Rast3d_location2coord_double(), Rast_align_window(), Rast_get_vrt(), and Vect_write_ascii().
| double Cell_head::ew_res |
Resolution - east to west cell size for 2D data.
Definition at line 482 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview_defaults(), Gs_load_3dview(), N_init_geom_data_2d(), Rast_align_window(), Rast_col_to_easting(), Rast_easting_to_col(), and Rast_get_vrt().
| double Cell_head::ew_res3 |
Resolution - east to west cell size for 3D data.
Definition at line 484 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), and G_adjust_Cell_head3().
| 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 452 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::north |
Extent coordinates (north)
Definition at line 492 of file gis.h.
Referenced by D_set_region(), G__read_Cell_head_array(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview_defaults(), G_point_in_window(), G_window_overlap(), G_window_percentage_overlap(), get_pj_area(), Gp_load_sites(), Gv_load_vect(), Rast3d_coord2location(), Rast3d_is_valid_location(), Rast3d_location2coord(), Rast3d_location2coord2(), Rast3d_location2coord_double(), Rast_align_window(), Rast_get_vrt(), Rast_get_vrt_row(), Rast_northing_to_row(), Rast_row_to_northing(), and Vect_write_ascii().
| double Cell_head::ns_res |
Resolution - north to south cell size for 2D data.
Definition at line 486 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview_defaults(), Gs_load_3dview(), N_init_geom_data_2d(), Rast_align_window(), Rast_get_vrt_row(), Rast_northing_to_row(), and Rast_row_to_northing().
| double Cell_head::ns_res3 |
Resolution - north to south cell size for 3D data.
Definition at line 488 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), and G_adjust_Cell_head3().
| int Cell_head::proj |
Projection code.
Definition at line 478 of file gis.h.
Referenced by D_set_region(), G__read_Cell_head_array(), G__write_Cell_head(), G__write_Cell_head3(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_easting(), G_adjust_window_ll(), G_get_3dview_defaults(), G_projection(), G_window_overlap(), G_window_percentage_overlap(), get_pj_area(), GPJ_osr_to_grass(), Rast__check_for_auto_masking(), Rast__open_old(), Rast_align_window(), and Rast_get_vrt().
| int Cell_head::rows |
Number of rows for 2D data.
Definition at line 461 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_to_box(), G_get_3dview_defaults(), GS_get_dims(), Gs_loadmap_as_bitmap(), Gs_loadmap_as_char(), Gs_loadmap_as_float(), Gs_loadmap_as_int(), Gs_loadmap_as_short(), IL_output_2d(), N_init_geom_data_2d(), N_read_rast3d_to_array_3d(), N_read_rast_to_array_2d(), N_write_array_2d_to_rast(), N_write_array_3d_to_rast3d(), and Rast_get_vrt_row().
| int Cell_head::rows3 |
Number of rows for 3D data.
Definition at line 463 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), and G_adjust_Cell_head3().
| double Cell_head::south |
Extent coordinates (south)
Definition at line 494 of file gis.h.
Referenced by D_set_region(), G__read_Cell_head_array(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview_defaults(), G_point_in_window(), G_window_overlap(), G_window_percentage_overlap(), get_pj_area(), Gp_load_sites(), Gs_load_3dview(), Gv_load_vect(), Rast_align_window(), Rast_get_vrt(), and Vect_write_ascii().
| double Cell_head::tb_res |
Resolution - top to bottom cell size for 3D data.
Definition at line 490 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), and G_adjust_Cell_head3().
| double Cell_head::top |
Extent coordinates (top) - 3D data.
Definition at line 500 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head3(), G_adjust_Cell_head3(), Gp_load_sites(), GS_get_aspect(), GS_set_viewport(), Gv_load_vect(), Rast3d_coord2location(), Rast3d_is_valid_location(), Rast3d_location2coord(), Rast3d_location2coord2(), Rast3d_location2coord_double(), and Vect_write_ascii().
| double Cell_head::west |
Extent coordinates (west)
Definition at line 498 of file gis.h.
Referenced by D_set_region(), G__read_Cell_head_array(), G__write_Cell_head(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_adjust_window_ll(), G_adjust_window_to_box(), G_get_3dview_defaults(), G_point_in_window(), G_window_overlap(), G_window_percentage_overlap(), get_pj_area(), Gp_load_sites(), Gs_load_3dview(), Gv_load_vect(), Rast_align_window(), Rast_col_to_easting(), Rast_easting_to_col(), Rast_get_vrt(), and Vect_write_ascii().
| int Cell_head::zone |
Projection zone (UTM)
Definition at line 480 of file gis.h.
Referenced by G__read_Cell_head_array(), G__write_Cell_head(), G_get_3dview_defaults(), G_zone(), GPJ_osr_to_grass(), Rast__check_for_auto_masking(), Rast__open_old(), and Rast_align_window().