PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_band_get_ext_path()

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 363 of file rt_band.c.

363  {
364 
365  assert(NULL != band);
366 
367 
368  if (!band->offline) {
369  RASTER_DEBUG(3, "rt_band_get_ext_path: Band is not offline");
370  return NULL;
371  }
372  return band->data.offline.path;
373 }
#define RASTER_DEBUG(level, msg)
Definition: librtcore.h:295
band
Definition: ovdump.py:57

References ovdump::band, and RASTER_DEBUG.

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

Here is the caller graph for this function: