eoxserver.services.ows.wcs package

Subpackages

Submodules

eoxserver.services.ows.wcs.basehandlers module

This module contains a set of handler base classes which shall help to implement a specific handler. Interface methods need to be overridden in order to work, default methods can be overidden.

class eoxserver.services.ows.wcs.basehandlers.WCSDescribeCoverageHandlerBase

Bases: object

Base for Coverage description handlers.

get_decoder(request)

Interface method to get the correct decoder for this request.

get_params(coverages, decoder)

Interface method to return a render params object from the given coverages/decoder.

get_renderer(params)

Default implementation for a renderer retrieval.

handle(request)

Default request handling method implementation.

index = 1
lookup_coverages(decoder)

Default implementation of the coverage lookup. Returns a sorted list of coverage models according to the decoders coverage_ids attribute. Raises a NoSuchCoverageException if any of the given IDs was not found in the database.

request = 'DescribeCoverage'
service = 'WCS'
to_http_response(result_set)

Default result to response conversion method.

class eoxserver.services.ows.wcs.basehandlers.WCSGetCapabilitiesHandlerBase

Bases: object

Base for Coverage description handlers.

get_decoder(request)

Interface method to get the correct decoder for this request.

get_params(coverages, decoder)

Default method to return a render params object from the given coverages/decoder.

get_renderer(params)

Default implementation for a renderer retrieval.

handle(request)

Default handler method.

index = 0
lookup_coverages(decoder)

Default implementation of the coverage lookup. Simply returns all coverages in no specific order.

request = 'GetCapabilities'
service = 'WCS'
to_http_response(result_set)

Default result to response conversion method.

class eoxserver.services.ows.wcs.basehandlers.WCSGetCoverageHandlerBase

Bases: object

Base for get coverage handlers.

get_decoder(request)

Interface method to get the correct decoder for this request.

get_params(coverages, decoder, request)

Interface method to return a render params object from the given coverages/decoder.

get_renderer(params)

Default implementation for a renderer retrieval.

get_subsets(decoder)

Interface method to get the subsets for this request.

handle(request)

Default handling method implementation.

index = 10
lookup_coverage(decoder, subsets)

Default implementation of the coverage lookup. Returns the coverage model for the given request decoder or raises an exception if it is not found.

request = 'GetCoverage'
service = 'WCS'
to_http_response(result_set)

Default result to response conversion method.

eoxserver.services.ows.wcs.interfaces module

class eoxserver.services.ows.wcs.interfaces.EncodingExtensionInterface

Bases: object

parse_encoding_params(request)

Return a dict, containing all additional encoding parameters from a given request.

supports(format, options)

Return a boolen value, whether or not an encoding extension supports a given format.

class eoxserver.services.ows.wcs.interfaces.PackageWriterInterface

Bases: object

Interface for package writers.

add_to_package(package, file_obj, size, location)

Add the file object to the package, that is returned by the create_package method.

cleanup(package)

Perform any necessary cleanups, like closing files, etc.

create_package(filename, format, params)

Create a package, which the encoder can later add items to with the cleanup and add_to_package method.

get_file_extension(package, format, params)

Retrieve the file extension for the given package and format specifier.

get_mime_type(package, format, params)

Retrieve the output mime type for the given package and/or format specifier.

supports(format, params)

Return a boolen value, whether or not a writer supports a given format.

class eoxserver.services.ows.wcs.interfaces.WCSCapabilitiesRendererInterface

Bases: object

Interface for WCS Capabilities renderers.

render(params)

Render the capabilities including information about the given coverages.

supports(params)

Returns a boolean value to indicate whether or not the renderer is able to render the capabilities with the given parameters.

class eoxserver.services.ows.wcs.interfaces.WCSCoverageDescriptionRendererInterface

Bases: object

Interface for coverage description renderers.

render(params)

Render the description of the given coverages.

supports(params)

Returns a boolean value to indicate whether or not the renderer is able to render the coverage and the given WCS version.

class eoxserver.services.ows.wcs.interfaces.WCSCoverageRendererInterface

Bases: object

Interface for coverage renderers.

render(params)

Render the coverage with the given parameters.

supports(params)

Returns a boolean value to indicate whether or not the renderer is able to render the coverage with the given parameters.

eoxserver.services.ows.wcs.parameters module

class eoxserver.services.ows.wcs.parameters.CoverageDescriptionRenderParams(coverages, version)

Bases: WCSParamsMixIn, VersionedParams

property coverage_ids
coverage_ids_key_name = None
property coverages
class eoxserver.services.ows.wcs.parameters.CoverageRenderParams(coverage, version)

Bases: WCSParamsMixIn, VersionedParams

property coverage
property coverage_id
coverage_id_key_name = None
class eoxserver.services.ows.wcs.parameters.WCSCapabilitiesRenderParams(coverages, version, sections=None, accept_languages=None, accept_formats=None, updatesequence=None, request=None)

Bases: WCSParamsMixIn, CapabilitiesRenderParams

class eoxserver.services.ows.wcs.parameters.WCSParamsMixIn

Bases: object

Module contents