Collection
-
class
wlts.collections.collection.Collection(name, title, authority_name, description, detail, datasource_id, dataset_type, classification_class, temporal, scala, spatial_extent, period, is_public, deprecated) Abstract class to represent an collection.
-
__init__(name, title, authority_name, description, detail, datasource_id, dataset_type, classification_class, temporal, scala, spatial_extent, period, is_public, deprecated) Create Collection.
-
static
create_classification_system(classification_class) Creates a Classification System for Collection.
- Parameters
classification_class (dict) – The classification system information.
- Returns
The classification system class.
- Return type
Class
-
get_name() Return the collection name.
-
get_datasource_id() Return the collection datasource identifier (id).
-
get_datasource() Return datasource of the collection.
-
get_resolution_unit() Return the collection resolution unit.
-
get_resolution_value() Return the collection resolution value.
-
get_spatial_extent() Return the collection spatial extent.
-
get_start_date() Return the collection start date.
-
get_end_date() Return the collection end_date.
-
abstract
trajectory(tj_attr, x, y, start_date, end_date, geometry) Abstract Method to get trajectory.
- Parameters
tj_attr (list) – The list of trajectories.
x (int/float) – A longitude value according to EPSG:4326.
y (int/float) – A latitude value according to EPSG:4326.
start_date (
str, optional) – The begin of a time interval.end_date (
str, optional) – The begin of a time interval.geometry – Used to return geometry in trajectory.
-
abstract
collection_type() Abstract Method to get collections type.
- Returns
A string that represents a collection type.
- Return type
collection_type (str)
-
abstract property
host_information Abstract Method to get collections datasource host.
- Returns
A string that represents the datasource host of an collection.
- Return type
host_url (str)
-
abstract
layers_information() Abstract Method to get collections layers informations.
- Returns
A list of dict that represents the information of the layers.
- Return type
layers (List)
-