PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
int rt_raster_is_empty | ( | rt_raster | raster | ) |
Return TRUE if the raster is empty.
i.e. is NULL, width = 0 or height = 0
raster | : the raster to get info from |
Definition at line 1338 of file rt_raster.c.
References rt_raster_t::height, and rt_raster_t::width.
Referenced by _rti_iterator_arg_populate(), RASTER_addBandOutDB(), RASTER_clip(), RASTER_dumpValues(), RASTER_getPixelPolygons(), RASTER_isEmpty(), RASTER_mapAlgebra2(), RASTER_mapAlgebraExpr(), RASTER_mapAlgebraFct(), RASTER_mapAlgebraFctNgb(), RASTER_nMapAlgebra(), RASTER_union_transfn(), rt_raster_colormap(), rt_raster_get_perimeter(), rt_raster_iterator(), rt_raster_surface(), rtpg_nmapalgebra_rastbandarg_process(), rtpg_union_noarg(), test_raster_empty(), and test_raster_from_band().