class LayerMapperConfigReader(config.Reader): section = "services.ows.wms" limit_products = config.Option(type=int) limit_mode = config.Option(type=enum('hide', 'outlines'), default='hide') min_render_zoom = config.Option(type=int) fill_opacity = config.Option(type=float) color = config.Option(type=str, default='grey')
class WCSConfigReader(config.Reader): section = "services.ows.wcs" supported_formats = config.Option(type=typelist(str, ","), default=()) maxsize = config.Option(type=int, default=None) section = "services.ows" update_sequence = config.Option(default="0")
class AuthConfigReader(config.Reader): section = "services.auth.base" attribute_mapping = config.Option() authz_service = config.Option() serviceID = config.Option() allowLocal = config.Option(type=bool) pdp_type = config.Option()
class EnabledMasksConfigReader(config.Reader): section = "services.ows.wms" mask_names = config.Option(type=typelist(str, ","), default=[])
class SubsetConfigReader(config.Reader): section = "services.owscommon" time_interval_interpretation = config.Option(default="closed", type=enum(("closed", "open"), False))
class CRSsConfigReader(config.Reader): section = "services.ows.wms" supported_crss_wms = config.Option("supported_crs", type=_parseListOfCRS) section = "services.ows.wcs" supported_crss_wcs = config.Option("supported_crs", type=_parseListOfCRS)
class NativeConfigReader(config.Reader): range_type_name = config.Option(section="range_type")
class RegistrationConfigReader(config.Reader): section = "coverages.registration" metadata_filename_template = config.Option()
class WCSEOConfigReader(config.Reader): section = "services.ows.wcs20" paging_count_default = config.Option(type=int, default=None)
class CapabilitiesConfigReader(config.Reader): section = "services.ows" update_sequence = config.Option(default="0") name = config.Option(default="None") title = config.Option(default="None") abstract = config.Option(default="None") keywords = config.Option(type=typelist(str, ","), default=[]) fees = config.Option(default="None") access_constraints = config.Option(default="None") provider_name = config.Option(default="None") provider_site = config.Option(default="None") individual_name = config.Option(default="None") position_name = config.Option(default="None") phone_voice = config.Option(default="None") phone_facsimile = config.Option(default="None") delivery_point = config.Option(default="None") city = config.Option(default="None") administrative_area = config.Option(default="None") postal_code = config.Option(default="None") country = config.Option(default="None") electronic_mail_address = config.Option(default="None") onlineresource = config.Option(default="None") hours_of_service = config.Option(default="None") contact_instructions = config.Option(default="None") role = config.Option(default="None") http_service_url = Choice( config.Option("http_service_url", section="services.owscommon", required=True), config.Option("http_service_url", section="services.ows", required=True), )
class OpenSearchConfigReader(config.Reader): section = "services.opensearch" default_count = config.Option(type=int, default=100) max_count = config.Option(type=int, default=200)
class CacheConfigReader(config.Reader): config.section("backends") retention_time = config.Option() # TODO directory = config.Option()
class WCSConfigReader(config.Reader): section = "services.ows.wcs" maxsize = config.Option(type=int, default=None)