Upload to Google Cloud Storage

upload_to_gcs(
  file,
  name = basename(file),
  make_public = T,
  gcs_auth_json =
    "/Users/bbest/My Drive/private/offhab-google-service-account_09e7228ac965.json",
  gcs_bucket = "offhab_lyrs"
)

Arguments

file

usually a GeoTIFF

name

defaults to basename(file)

make_public

defaults to True

gcs_auth_json

JSON for authorizing

gcs_bucket

bucket (i.e. folder) to upload into on Google Cloud Storage

Value

empty, only side effect