|
sgsPy
structurally guided sampling
|
#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 |
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.
| std::string sgs::helper::RasterBandMetaData::name = "" |
| double sgs::helper::RasterBandMetaData::nan = -1 |
| GDALRasterBand* sgs::helper::RasterBandMetaData::p_band = nullptr |
| void* sgs::helper::RasterBandMetaData::p_buffer = nullptr |
| std::mutex* sgs::helper::RasterBandMetaData::p_mutex = nullptr |
| size_t sgs::helper::RasterBandMetaData::size = 0 |
| GDALDataType sgs::helper::RasterBandMetaData::type = GDT_Unknown |
| int sgs::helper::RasterBandMetaData::xBlockSize = -1 |
| int sgs::helper::RasterBandMetaData::yBlockSize = -1 |