PostGIS  2.1.10dev-r@@SVN_REVISION@@
const char* rt_pixtype_name ( rt_pixtype  pixtype)

Definition at line 1168 of file rt_api.c.

References PT_16BSI, PT_16BUI, PT_1BB, PT_2BUI, PT_32BF, PT_32BSI, PT_32BUI, PT_4BUI, PT_64BF, PT_8BSI, PT_8BUI, and rterror().

Referenced by RASTER_addBand(), RASTER_bandmetadata(), RASTER_getBandPixelTypeName(), RASTER_mapAlgebra2(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_nMapAlgebra(), RASTER_nMapAlgebraExpr(), RASTER_union_finalfn(), RASTER_union_transfn(), rt_band_from_wkb(), rt_band_get_nearest_pixel(), rt_band_new_inline(), rt_band_new_offline(), rt_band_set_nodata(), rt_pixtype_size(), rt_raster_deserialize(), rt_util_dbl_trunc_warning(), and test_pixtype_name().

1168  {
1169  switch (pixtype) {
1170  case PT_1BB:
1171  return "1BB";
1172  case PT_2BUI:
1173  return "2BUI";
1174  case PT_4BUI:
1175  return "4BUI";
1176  case PT_8BSI:
1177  return "8BSI";
1178  case PT_8BUI:
1179  return "8BUI";
1180  case PT_16BSI:
1181  return "16BSI";
1182  case PT_16BUI:
1183  return "16BUI";
1184  case PT_32BSI:
1185  return "32BSI";
1186  case PT_32BUI:
1187  return "32BUI";
1188  case PT_32BF:
1189  return "32BF";
1190  case PT_64BF:
1191  return "64BF";
1192  default:
1193  rterror("rt_pixtype_name: Unknown pixeltype %d", pixtype);
1194  return "Unknown";
1195  }
1196 }
Definition: rt_api.h:173
void rterror(const char *fmt,...)
Raster core error and info handlers.
Definition: rt_api.c:895

Here is the call graph for this function:

Here is the caller graph for this function: