PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ init_rastinfo()

static void init_rastinfo ( RASTERINFO info)
static

Definition at line 511 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().

511  {
512  info->srid = SRID_UNKNOWN;
513  info->srs = NULL;
514  memset(info->dim, 0, sizeof(uint32_t) * 2);
515  info->nband_count = 0;
516  info->nband = NULL;
517  info->gdalbandtype = NULL;
518  info->bandtype = NULL;
519  info->hasnodata = NULL;
520  info->nodataval = NULL;
521  memset(info->gt, 0, sizeof(double) * 6);
522  memset(info->tile_size, 0, sizeof(int) * 2);
523 }
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:188
uint32_t dim[2]
Definition: raster2pgsql.h:172
double * nodataval
Definition: raster2pgsql.h:185
double gt[6]
Definition: raster2pgsql.h:188
Here is the caller graph for this function: