clear_gdal_conf_from_env
export_gdal_conf_to_env.
Raises
KeyError: If the variables are not set.
export_gdal_conf_to_env
get_gdal_conf
path.
Parameters
Path of the file to read. A path starting with
s3://, s3a:// or
/vsis3/ gets the options of its bucket; see
get_gdal_conf_for_s3_bucket.Returns
get_gdal_conf_for_s3_bucket
spark.hadoop.fs.s3a.*
configuration, using the bucket’s own spark.hadoop.fs.s3a.bucket.<bucket>.*
settings when it has them, or from the environment variables set by
export_gdal_conf_to_env. Assumed-role credentials are resolved into
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN.
Parameters
Returns
get_rasterio_aws_session
path.
Pass it to rasterio.Env(session=...) to open files on S3 with rasterio
using the same configuration as Sedona’s out-db rasters.

