DatasetInfo#
- class geodesic.boson.dataset.DatasetInfo(data=None, **kwargs)[source]#
Metadata about a boson dataset.
This is obtained by calling the dataset-info endpoint in Boson. While there is some field overlap, this is usually dynamically generated by Boson and is not necessarily the same as the metadata set by the user. Especially in cases where a creator of a Dataset opted to not provide much metadata, Boson attempts to generate update to date information, depending on the provider used.
This is particularly useful to inspect things like valid raster assets, min/max zoom, available fields for querying, and STAC collections.
Attributes
alias(str) - alias - human readable name of this Dataset
collections(dict) - list of STAC/Features Collections
conforms_to(str) - list of OGC/other standard conformances
default_asset_bands(dict) - default asset bands...
description(str) - description of this Dataset
fields(dict) - dictionary of fields for each collection
geometry_types(dict) - dictionary of geometry types for each collection
links(dict) - list of links for this Dataset
max_zoom(int) - Max Zoom (OSM Zoom Value) for this layer
min_zoom(int) - Min Zoom (OSM Zoom Value) for this layer
name(str) - name of this Dataset
overall_extent(
Extent, dict) - spatiotemporal extent of this Datasetprovider_config(
BosonConfig, dict) - Boson provider configqueryables(dict) - dictionary of queryables for each collection
raster_assets(dict) - dictionary of raster-assets for this Dataset
Methods
clear()copy()fromkeys([value])Create a new dictionary with keys from iterable and values set to value.
get(key[, default])Return the value for key if key is in the dictionary, else default.
items()keys()pop(k[,d])If the key is not found, return the default if given; otherwise, raise a KeyError.
popitem()Remove and return a (key, value) pair as a 2-tuple.
setdefault(key[, default])Insert key with a value of default if key is not in the dictionary.
update(*mapping, **kwargs)values()