PostGIS  2.1.10dev-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 1673 of file rt_api.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().

1673  {
1674 
1675  assert(NULL != band);
1676 
1677 
1678  if (!band->offline) {
1679  RASTER_DEBUG(3, "rt_band_get_ext_path: Band is not offline");
1680  return NULL;
1681  }
1682  return band->data.offline.path;
1683 }
#define RASTER_DEBUG(level, msg)
Definition: rt_api.h:281
union rt_band_t::@14 data
int32_t offline
Definition: rt_api.h:2240

Here is the caller graph for this function: