PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ init_rastinfo()

static void init_rastinfo ( RASTERINFO info)
static

Definition at line 500 of file raster2pgsql.c.

500 {
501 info->srid = SRID_UNKNOWN;
502 info->srs = NULL;
503 memset(info->dim, 0, sizeof(uint32_t) * 2);
504 info->nband_count = 0;
505 info->nband = NULL;
506 info->gdalbandtype = NULL;
507 info->bandtype = NULL;
508 info->hasnodata = NULL;
509 info->nodataval = NULL;
510 memset(info->gt, 0, sizeof(double) * 6);
511 memset(info->tile_size, 0, sizeof(int) * 2);
512}
#define SRID_UNKNOWN
Unknown SRID value.
Definition liblwgeom.h:215
double * nodataval
rt_pixtype * bandtype
double gt[6]
uint32_t nband_count
GDALDataType * gdalbandtype
uint32_t dim[2]

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().

Here is the caller graph for this function: