PostGIS  2.5.0beta1dev-r@@SVN_REVISION@@

◆ init_rastinfo()

static void init_rastinfo ( RASTERINFO info)
static

Definition at line 514 of file raster2pgsql.c.

References rasterinfo_t::bandtype, rasterinfo_t::dim, rasterinfo_t::gdalbandtype, rasterinfo_t::gt, rasterinfo_t::hasnodata, rasterinfo_t::nband, rasterinfo_t::nband_count, rasterinfo_t::nodataval, rasterinfo_t::srid, SRID_UNKNOWN, rasterinfo_t::srs, and rasterinfo_t::tile_size.

Referenced by process_rasters().

514  {
515  info->srid = SRID_UNKNOWN;
516  info->srs = NULL;
517  memset(info->dim, 0, sizeof(uint32_t) * 2);
518  info->nband_count = 0;
519  info->nband = NULL;
520  info->gdalbandtype = NULL;
521  info->bandtype = NULL;
522  info->hasnodata = NULL;
523  info->nodataval = NULL;
524  memset(info->gt, 0, sizeof(double) * 6);
525  memset(info->tile_size, 0, sizeof(int) * 2);
526 }
GDALDataType * gdalbandtype
Definition: raster2pgsql.h:179
rt_pixtype * bandtype
Definition: raster2pgsql.h:180
int tile_size[2]
Definition: raster2pgsql.h:191
unsigned int uint32_t
Definition: uthash.h:78
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:187
uint32_t dim[2]
Definition: raster2pgsql.h:172
double * nodataval
Definition: raster2pgsql.h:185
uint32_t nband_count
Definition: raster2pgsql.h:176
double gt[6]
Definition: raster2pgsql.h:188
Here is the caller graph for this function: