Calls bandNames() method from ee.Image class.

gd_band_names(x)

Arguments

x

a Google Earth Engine Image object, such as from gd_image_from_id()

Value

character. Vector of names of each layer in an image.

Examples

if (FALSE) { # gd_is_initialized()
# \donttest{
if (gd_is_initialized())
  gd_band_names(gd_image_from_id("USGS/NED"))
# }
}