PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void init_rastinfo ( RASTERINFO info)
static

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

504  {
505  info->srid = SRID_UNKNOWN;
506  info->srs = NULL;
507  memset(info->dim, 0, sizeof(uint32_t) * 2);
508  info->nband_count = 0;
509  info->nband = NULL;
510  info->gdalbandtype = NULL;
511  info->bandtype = NULL;
512  info->hasnodata = NULL;
513  info->nodataval = NULL;
514  memset(info->gt, 0, sizeof(double) * 6);
515  memset(info->tile_size, 0, sizeof(int) * 2);
516 }
GDALDataType * gdalbandtype
Definition: raster2pgsql.h:174
rt_pixtype * bandtype
Definition: raster2pgsql.h:175
int tile_size[2]
Definition: raster2pgsql.h:186
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:154
uint32_t dim[2]
Definition: raster2pgsql.h:167
double * nodataval
Definition: raster2pgsql.h:180
double gt[6]
Definition: raster2pgsql.h:183

Here is the caller graph for this function: