eoxserver.services.ows.wms package¶
Subpackages¶
- eoxserver.services.ows.wms.v10 package
- eoxserver.services.ows.wms.v11 package
- Submodules
- eoxserver.services.ows.wms.v11.getcapabilities module
- eoxserver.services.ows.wms.v11.getfeatureinfo module
WMS11GetFeatureInfoDecoderWMS11GetFeatureInfoDecoder.bboxWMS11GetFeatureInfoDecoder.dim_bandsWMS11GetFeatureInfoDecoder.formatWMS11GetFeatureInfoDecoder.heightWMS11GetFeatureInfoDecoder.layersWMS11GetFeatureInfoDecoder.srsWMS11GetFeatureInfoDecoder.stylesWMS11GetFeatureInfoDecoder.timeWMS11GetFeatureInfoDecoder.width
WMS11GetFeatureInfoHandler
- eoxserver.services.ows.wms.v11.getmap module
- Module contents
- eoxserver.services.ows.wms.v13 package
- Submodules
- eoxserver.services.ows.wms.v13.exceptionhandler module
- eoxserver.services.ows.wms.v13.getcapabilities module
- eoxserver.services.ows.wms.v13.getfeatureinfo module
WMS13GetFeatureInfoDecoderWMS13GetFeatureInfoDecoder.bboxWMS13GetFeatureInfoDecoder.crsWMS13GetFeatureInfoDecoder.dim_bandsWMS13GetFeatureInfoDecoder.formatWMS13GetFeatureInfoDecoder.heightWMS13GetFeatureInfoDecoder.layersWMS13GetFeatureInfoDecoder.stylesWMS13GetFeatureInfoDecoder.timeWMS13GetFeatureInfoDecoder.width
WMS13GetFeatureInfoHandler
- eoxserver.services.ows.wms.v13.getlegendgraphic module
- eoxserver.services.ows.wms.v13.getmap module
WMS13GetMapDecoderWMS13GetMapDecoder.bboxWMS13GetMapDecoder.bgcolorWMS13GetMapDecoder.cqlWMS13GetMapDecoder.crsWMS13GetMapDecoder.dim_bandsWMS13GetMapDecoder.dim_rangeWMS13GetMapDecoder.dimensionsWMS13GetMapDecoder.elevationWMS13GetMapDecoder.formatWMS13GetMapDecoder.heightWMS13GetMapDecoder.layersWMS13GetMapDecoder.stylesWMS13GetMapDecoder.timeWMS13GetMapDecoder.transparentWMS13GetMapDecoder.width
WMS13GetMapHandlerparse_range()parse_transparent()
- Module contents
Submodules¶
eoxserver.services.ows.wms.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.wms.basehandlers.WMSBaseGetCapabilitiesHandler¶
Bases:
objectBase for WMS capabilities handlers.
- get_decoder(request)¶
- handle(request)¶
- methods = ['GET']¶
- request = 'GetCapabilities'¶
- service = 'WMS'¶
- class eoxserver.services.ows.wms.basehandlers.WMSBaseGetCapbilitiesDecoder(params)¶
Bases:
Decoder- property cql¶
Property getter function.
- class eoxserver.services.ows.wms.basehandlers.WMSBaseGetFeatureInfoHandler¶
Bases:
object- handle(request)¶
- methods = ['GET']¶
- request = 'GetFeatureInfo'¶
- service = 'WMS'¶
- class eoxserver.services.ows.wms.basehandlers.WMSBaseGetLegendGraphicDecoder(params)¶
Bases:
Decoder- property format¶
Property getter function.
- property height¶
Property getter function.
- property layer¶
Property getter function.
- property scale¶
Property getter function.
- property style¶
Property getter function.
- property width¶
Property getter function.
- class eoxserver.services.ows.wms.basehandlers.WMSBaseGetLegendGraphicHandler¶
Bases:
object- handle(request)¶
- methods = ['GET']¶
- request = 'GetLegendGraphic'¶
- service = 'WMS'¶
- class eoxserver.services.ows.wms.basehandlers.WMSBaseGetMapDecoder(params)¶
Bases:
Decoder- property bbox¶
Property getter function.
- property bgcolor¶
Property getter function.
- property cql¶
Property getter function.
- property dim_bands¶
Property getter function.
- property dim_range¶
Property getter function.
- property dim_wavelengths¶
Property getter function.
- property elevation¶
Property getter function.
- property format¶
Property getter function.
- property height¶
Property getter function.
- property layers¶
Property getter function.
- property sort_by¶
Property getter function.
- property srs¶
Property getter function.
- property styles¶
Property getter function.
- property time¶
Property getter function.
- property transparent¶
Property getter function.
- property variables¶
Property getter function.
- property width¶
Property getter function.
- class eoxserver.services.ows.wms.basehandlers.WMSBaseGetMapHandler¶
Bases:
object- handle(request)¶
- methods = ['GET']¶
- request = 'GetMap'¶
- service = 'WMS'¶
- eoxserver.services.ows.wms.basehandlers.calculate_zoom(bbox, width, height, crs)¶
- eoxserver.services.ows.wms.basehandlers.parse_ranges(value)¶
- eoxserver.services.ows.wms.basehandlers.parse_sort_by(value)¶
- eoxserver.services.ows.wms.basehandlers.parse_transparent(value)¶
eoxserver.services.ows.wms.exceptions module¶
- exception eoxserver.services.ows.wms.exceptions.InvalidCRS(value, crs_param_name)¶
Bases:
Exception- code = 'InvalidCRS'¶
eoxserver.services.ows.wms.interfaces module¶
- class eoxserver.services.ows.wms.interfaces.WMSCapabilitiesRendererInterface¶
Bases:
objectInterface for WMS compatible capabilities renderers.
- render(collections, coverages, request_values)¶
Render a capabilities document, containing metadata of the given collections and coverages.
- class eoxserver.services.ows.wms.interfaces.WMSFeatureInfoRendererInterface¶
Bases:
objectInterface for WMS compatible feature info renderers.
- render(layer_groups, request_values, **options)¶
Render the given layer hierarchy with the provided request values and further options.
optionscontains relevant options such as specified bands.
- property suffixes¶
Return a list of supported layer suffixes for this renderer.
- class eoxserver.services.ows.wms.interfaces.WMSLegendGraphicRendererInterface¶
Bases:
objectInterface for WMS compatible legend graphic renderers.
- render(collection, eo_object, request_values, **options)¶
Render the given collection and coverage with the provided request values and further options.
optionscontains relevant options such as specified bands.
- property suffixes¶
Return a list of supported layer suffixes for this renderer.
- class eoxserver.services.ows.wms.interfaces.WMSMapRendererInterface¶
Bases:
objectInterface for WMS compatible map renderers.
- render(layer_groups, request_values, **options)¶
Render the given layer hierarchy with the provided request values and further options.
optionscontains relevant options such as specified bands.
- property suffixes¶
Return a list of supported layer suffixes for this renderer.
eoxserver.services.ows.wms.util module¶
- class eoxserver.services.ows.wms.util.LayerSelection(collection=None, suffix=None, iterable=None)¶
Bases:
listHelper class for hierarchical layer selections.
- append(eo_object_or_selection, name=None)¶
Append object to the end of the list.
- walk(depth_first=True)¶
Yields four-tuples (collections, coverage, name, suffix).
- eoxserver.services.ows.wms.util.lookup_layers(layers, subsets, suffixes=None)¶
Performs a layer lookup for the given layer names. Applies the given subsets and looks up all layers with the given suffixes. Returns a hierarchy of
LayerSelectionobjects.