eoxserver.services.mapserver.wms.layerfactories package¶
Submodules¶
eoxserver.services.mapserver.wms.layerfactories.base module¶
- class eoxserver.services.mapserver.wms.layerfactories.base.AbstractLayerFactory(*args)¶
Bases:
PlainLayerMixIn
,Component
- abstract = True¶
- generate(eo_object, group_layer, suffix, options)¶
- class eoxserver.services.mapserver.wms.layerfactories.base.BaseCoverageLayerFactory(*args)¶
Bases:
OffsiteColorMixIn
,PlainLayerMixIn
,Component
- abstract = True¶
- generate(eo_object, group_layer, suffix, options)¶
- generate_group(name)¶
- class eoxserver.services.mapserver.wms.layerfactories.base.BaseStyleMixIn¶
Bases:
object
- DEFAULT_STYLE = 'red'¶
- STYLES = (('red', 255, 0, 0), ('green', 0, 128, 0), ('blue', 0, 0, 255), ('white', 255, 255, 255), ('black', 0, 0, 0), ('yellow', 255, 255, 0), ('orange', 255, 165, 0), ('magenta', 255, 0, 255), ('cyan', 0, 255, 255), ('brown', 165, 42, 42))¶
- apply_styles(layer, fill=False)¶
- class eoxserver.services.mapserver.wms.layerfactories.base.OffsiteColorMixIn¶
Bases:
object
- offsite_color_from_range_type(range_type, band_indices=None)¶
Helper function to create an offsite color for a given range type and optionally band indices.
eoxserver.services.mapserver.wms.layerfactories.colorized_mask_layer_factory module¶
- class eoxserver.services.mapserver.wms.layerfactories.colorized_mask_layer_factory.ColorizedMaskLayerFactory(*args)¶
Bases:
BaseStyleMixIn
,AbstractLayerFactory
- create_polygon_layer(coverage, name)¶
- property enabled_masks¶
- generate(eo_object, group_layer, suffix, options)¶
- generate_group(name)¶
- property suffixes¶
eoxserver.services.mapserver.wms.layerfactories.coverage_bands_layer_factory module¶
- class eoxserver.services.mapserver.wms.layerfactories.coverage_bands_layer_factory.CoverageBandsLayerFactory(*args)¶
Bases:
OffsiteColorMixIn
,AbstractLayerFactory
- generate(eo_object, group_layer, suffix, options)¶
- generate_group(name)¶
- requires_connection = True¶
- suffixes = ('_bands',)¶
eoxserver.services.mapserver.wms.layerfactories.coverage_layer_factory module¶
- class eoxserver.services.mapserver.wms.layerfactories.coverage_layer_factory.CoverageLayerFactory(*args)¶
Bases:
BaseCoverageLayerFactory
- requires_connection = True¶
- suffixes = (None,)¶
eoxserver.services.mapserver.wms.layerfactories.coverage_mask_layer_factory module¶
eoxserver.services.mapserver.wms.layerfactories.coverage_masked_outlines_layer_factory module¶
- class eoxserver.services.mapserver.wms.layerfactories.coverage_masked_outlines_layer_factory.CoverageMaskedOutlinesLayerFactory(*args)¶
Bases:
BaseStyleMixIn
,PolygonLayerMixIn
,AbstractLayerFactory
- generate(eo_object, group_layer, suffix, options)¶
- generate_group(name)¶
- requires_connection = False¶
- suffixes = ('_masked_outlines',)¶