eoxserver.services.mapserver.wcs package

Submodules

eoxserver.services.mapserver.wcs.base_renderer module

class eoxserver.services.mapserver.wcs.base_renderer.BaseRenderer(*args)

Bases: Component

abstract = True
arraydata_locations_for_coverage(coverage)

Helper function to query all relevant data items for any raster data from the database.

create_map()

Helper function to create a WCS enabled MapServer mapObj.

find_param(params, name, default=None)
get_all_outputformats(use_mime=True)
get_native_format(coverage, data_locations)
get_wcs_formats()
layer_for_coverage(coverage, native_format, version=None)

Helper method to generate a WCS enabled MapServer layer for a given coverage.

class eoxserver.services.mapserver.wcs.base_renderer.WCSConfigReader(config)

Bases: Reader

property maxsize
section = 'services.ows'
property supported_formats
property update_sequence
eoxserver.services.mapserver.wcs.base_renderer.is_format_supported(mime_type)

eoxserver.services.mapserver.wcs.capabilities_renderer module

class eoxserver.services.mapserver.wcs.capabilities_renderer.MapServerWCSCapabilitiesRenderer(*args)

Bases: BaseRenderer

WCS Capabilities renderer implementation using MapServer.

render(params)
supports(params)
versions = (<eoxserver.services.ows.version.Version ("1.0") instance>, <eoxserver.services.ows.version.Version ("1.1") instance>)

eoxserver.services.mapserver.wcs.coverage_description_renderer module

class eoxserver.services.mapserver.wcs.coverage_description_renderer.CoverageDescriptionMapServerRenderer(*args)

Bases: BaseRenderer

A coverage description renderer implementation using mapserver.

render(params)
supports(params)
versions = (<eoxserver.services.ows.version.Version ("1.1") instance>, <eoxserver.services.ows.version.Version ("1.0") instance>)

eoxserver.services.mapserver.wcs.coverage_renderer module

class eoxserver.services.mapserver.wcs.coverage_renderer.RectifiedCoverageMapServerRenderer(*args)

Bases: BaseRenderer

A coverage renderer for rectified coverages. Uses mapserver to process the request.

render(params)
supports(params)
translate_params(params, range_type)

“Translate” parameters to be understandable by mapserver.

versions = (<eoxserver.services.ows.version.Version ("1.1") instance>, <eoxserver.services.ows.version.Version ("1.0") instance>, <eoxserver.services.ows.version.Version ("2.0") instance>)
versions_full = (<eoxserver.services.ows.version.Version ("1.1") instance>, <eoxserver.services.ows.version.Version ("1.0") instance>)
versions_partly = (<eoxserver.services.ows.version.Version ("2.0") instance>,)
eoxserver.services.mapserver.wcs.coverage_renderer.create_outputformat(mime_type, options, imagemode, basename, parameters)

Returns a mapscript.outputFormatObj for the given format name and imagemode.

eoxserver.services.mapserver.wcs.coverage_renderer.get_format_by_mime(mime_type)

Convenience function to return an enabled format descriptior for the given mime type or WCS 1.0 format name. Returns None, if none applies.

eoxserver.services.mapserver.wcs.coverage_renderer.split_format(frmt)

Module contents