Definition at line 441 of file rt_wkb.c.
447 RASTER_DEBUGF(3,
"rt_raster_wkb_size: computing size for %d bands",
450 for (i = 0; i <
raster->numBands; ++i) {
455 RASTER_DEBUGF(3,
"rt_raster_wkb_size: adding size of band %d", i);
458 rterror(
"rt_raster_wkb_size: Corrupted band: unknown pixtype");
468 if (!outasin &&
band->offline) {
473 size += strlen(
band->data.offline.path) + 1;
void rterror(const char *fmt,...)
Wrappers used for reporting errors and info.
#define RASTER_DEBUGF(level, msg,...)
int rt_pixtype_size(rt_pixtype pixtype)
Return size in bytes of a value in the given pixtype.
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
References ovdump::band, rtrowdump::raster, RASTER_DEBUGF, rt_pixtype_size(), RT_WKB_HDR_SZ, and rterror().
Referenced by rt_raster_to_wkb().