sgsPy
structurally guided sampling
Loading...
Searching...
No Matches
sgs::helper::RasterBandMetaData

#include <helper.h>

Public Attributes

GDALRasterBand * p_band = nullptr
void * p_buffer = nullptr
GDALDataType type = GDT_Unknown
size_t size = 0
std::string name = ""
double nan = -1
int xBlockSize = -1
int yBlockSize = -1
std::mutex * p_mutex = nullptr

Detailed Description

The RasterBandMetaData struct stores information on a particular raster band. It stores:

GDALRasterBand *p_band: a pointer to the associated GDALRasterBand.

void *p_buffer: a pointer to the whole raster band as a buffer, if the raster is a size where storing the whole band is possible.

GDALDataType: the pixel type of the raster band.

size_t size: the size of the pixel type of the raster band.

std::string name: the band name.

double nan: the bands particular no data value.

int xBlockSize: the x component of the raster bands block size.

int yBlockSize: the y component of hte raster bands block size.

std::mutex *p_mutex: a pointer to the mutex for the GDAL dataset corresponding to the raster band. This must be locked/unlocked when reading/writing the band.

Member Data Documentation

◆ name

std::string sgs::helper::RasterBandMetaData::name = ""

◆ nan

double sgs::helper::RasterBandMetaData::nan = -1

◆ p_band

GDALRasterBand* sgs::helper::RasterBandMetaData::p_band = nullptr

◆ p_buffer

void* sgs::helper::RasterBandMetaData::p_buffer = nullptr

◆ p_mutex

std::mutex* sgs::helper::RasterBandMetaData::p_mutex = nullptr

◆ size

size_t sgs::helper::RasterBandMetaData::size = 0

◆ type

GDALDataType sgs::helper::RasterBandMetaData::type = GDT_Unknown

◆ xBlockSize

int sgs::helper::RasterBandMetaData::xBlockSize = -1

◆ yBlockSize

int sgs::helper::RasterBandMetaData::yBlockSize = -1

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