PostGIS  2.5.0dev-r@@SVN_REVISION@@
const char* rt_band_get_ext_path ( rt_band  band)

Return band's external path (only valid when rt_band_is_offline returns non-zero).

Parameters
band: the band
Returns
string or NULL if band is not offline

Definition at line 265 of file rt_band.c.

References rt_band_t::data, rt_band_t::offline, and RASTER_DEBUG.

Referenced by RASTER_bandmetadata(), RASTER_getBandPath(), RASTER_tile(), test_band_metadata(), and test_raster_wkb().

265  {
266 
267  assert(NULL != band);
268 
269 
270  if (!band->offline) {
271  RASTER_DEBUG(3, "rt_band_get_ext_path: Band is not offline");
272  return NULL;
273  }
274  return band->data.offline.path;
275 }
union rt_band_t::@6 data
int32_t offline
Definition: librtcore.h:2266
#define RASTER_DEBUG(level, msg)
Definition: librtcore.h:295

Here is the caller graph for this function: