Definition at line 600 of file raster2pgsql.c.
References _, rasterinfo_t::bandtype, ES_NONE, rasterinfo_t::gt, rasterinfo_t::hasnodata, rasterinfo_t::nband, rasterinfo_t::nband_count, rt_raster_destroy(), rt_raster_new(), rt_raster_same_alignment(), rt_raster_set_geotransform_matrix(), rterror(), rtwarn(), and rasterinfo_t::tile_size.
Referenced by process_rasters().
609 rtwarn(
_(
"Different number of bands found in the set of rasters being converted to PostGIS raster"));
617 rtwarn(
_(
"Different pixel types found for band %d in the set of rasters being converted to PostGIS raster"), ref->
nband[i]);
627 rtwarn(
_(
"Different hasnodata flags found for band %d in the set of rasters being converted to PostGIS raster"), ref->
nband[i]);
638 rtwarn(
_(
"Different NODATA values found for band %d in the set of rasters being converted to PostGIS raster"), ref->
nband[i]);
655 rterror(
_(
"diff_rastinfo: Could not allocate memory for raster alignment test"));
668 rterror(
_(
"diff_rastinfo: Could not run raster alignment test"));
673 rtwarn(
_(
"Raster with different alignment found in the set of rasters being converted to PostGIS raster"));
680 for (i = 0; i < 2; i++) {
682 rtwarn(
_(
"Different tile sizes found in the set of rasters being converted to PostGIS raster"));
rt_errorstate rt_raster_same_alignment(rt_raster rast1, rt_raster rast2, int *aligned, char **reason)
void rt_raster_set_geotransform_matrix(rt_raster raster, double *gt)
Set raster's geotransform using 6-element array.
void rterror(const char *fmt,...)
Wrappers used for reporting errors and info.
void rtwarn(const char *fmt,...)
void rt_raster_destroy(rt_raster raster)
Release memory associated to a raster.
rt_raster rt_raster_new(uint32_t width, uint32_t height)
Construct a raster with given dimensions.