PostGIS  2.1.10dev-r@@SVN_REVISION@@
int rt_band_get_isnodata_flag ( rt_band  band)

Get isnodata flag value.

Parameters
band: the band on which to check the isnodata flag
Returns
the hasnodata flag.

Definition at line 2042 of file rt_api.c.

References rt_band_t::hasnodata, and rt_band_t::isnodata.

Referenced by _rti_iterator_arg_populate(), RASTER_bandIsNoData(), RASTER_clip(), RASTER_dumpAsPolygons(), RASTER_dumpValues(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_setPixelValuesGeomval(), RASTER_tile(), rt_band_get_quantiles_stream(), rt_band_get_summary_stats(), rt_band_get_value_count(), rt_raster_gdal_polygonize(), rt_raster_get_perimeter(), rt_raster_intersects(), rt_raster_surface(), and test_band_metadata().

2042  {
2043  assert(NULL != band);
2044 
2045  if (band->hasnodata)
2046  return band->isnodata ? 1 : 0;
2047  else
2048  return 0;
2049 }
int32_t isnodata
Definition: rt_api.h:2244
int32_t hasnodata
Definition: rt_api.h:2243

Here is the caller graph for this function: