Skip to content

RS_BandPath

Retrieves the file path of an out-of-database (out-db) raster band, returning the external raster file location referenced by the raster.

Usage

utf8 RS_BandPath(rast: raster)

Arguments

  • rast (raster): Input raster

Description

Primarily used with out-db rasters, where only raster path and geo-referencing metadata are stored in the database.

Examples

SELECT RS_BandPath(RS_Example());
┌───────────────────────────┐
│ rs_bandpath(rs_example()) │
│            utf8           │
╞═══════════════════════════╡
│                           │
└───────────────────────────┘