Skip to main content

Module cloud_detect

Module cloud_detect 

Source
Expand description

Cloud URI detection and transparent dispatch for Dataset::open. Cloud URI detection and transparent dispatch for crate::Dataset::open.

This module provides lightweight helpers that classify a path string as a cloud URI (s3://, gs://, az://, http://, https://) and, when the cloud feature is enabled, open a stub crate::Dataset descriptor that records the cloud path for subsequent streaming operations.

When cloud is not enabled open_cloud_dataset returns a crate::OxiGdalError::NotSupported error with a helpful message.

Functions§

is_cloud_uri
Returns true if path starts with a known cloud storage URI scheme.
open_cloud_dataset
Open a cloud-hosted dataset, returning a lightweight Dataset descriptor.