Web Coverage Service (WCS)
-
class
wlts.datasources.wcs.WCSDataSource(id, ds_info) This class implemente a WCSDataSource.
-
__init__(id, ds_info) Create a WCSDataSource.
- Parameters
id (str) – the datasource identifier.
ds_info (dict) – A datasource information as a dictionary.
-
check_image(workspace: str, ft_name: str) → None Utility to check image existence in wcs.
- Parameters
ft_name (str) – The image name.
-
property
host_information Returns the host.
-
get_type() → str Return the datasource type.
-
organize_trajectory(result, time, classification_class, geom, geom_flag, temporal, language, workspace=None) Organize trajectory.
-
get_trajectory(**kwargs) Return a trajectory instance for wcs datasource.
- Parameters
**kwargs – The keyword arguments.
-
-
class
wlts.datasources.wcs.WCS(host, **kwargs) This class implements the WCS client..
-
__init__(host, **kwargs) Create a WCS client attached to the given host address (an URL).
- Parameters
host (str) – the server URL.
**kwargs – The keyword arguments with credentials to access WFS.
-
property
host_information Returns the host.
-
open_image(url, long, lat) Return the image value for a location.
- Parameters
url (str) – URL for the WCS server.
long (int/float) – A longitude value according to EPSG:4326.
lat (int/float) – A latitude value according to EPSG:4326.
-
get_image(image, srid, min_x, max_x, min_y, max_y, column, row, time, x, y) Mount the url for get a image(coverage) from server based on GetCoverage request.
- Parameters
image (str) – The image(coverage) name to retrieve from service.
srid (int) – The CRS of the image(coverage).
min_x (int/float) – The min x the extent of the image(coverage)
max_x (int/float) – The max x the extent of the image(coverage)
min_y (int/float) – The min y the extent of the image(coverage)
max_y (int/float) – The max y the extent of the image(coverage)
column (int) – Grid resolution.
row (int) – Grid resolution.
time (str) – Time dimension.
x (int/float) – The location x to retrieve.
x – The location y to retrieve.
-
list_image() → List[str] Returns the list of all available image in service.
-