:tocdepth: 3 :py:mod:`gws.base.ows.client.provider` ====================================== .. py:module:: gws.base.ows.client.provider **Source code:** :source:`gws.base.ows.client.provider` Module Contents --------------- .. py:class:: AuthorizationConfig(*args, **kwargs) Bases: :py:obj:`gws.Config` Service authorization. (added in 8.1) .. py:attribute:: password :type: str :value: '' Password. .. py:attribute:: type :type: str Authorization type (only "basic" is supported). .. py:attribute:: username :type: str :value: '' User name. .. py:class:: Config(*args, **kwargs) Bases: :py:obj:`gws.Config` OWS provider configuration. .. py:attribute:: alwaysXY :type: bool :value: False Force XY orientation for lat/lon projections. .. py:attribute:: authorization :type: Optional[AuthorizationConfig] Service authorization. (added in 8.1) .. py:attribute:: capsCacheMaxAge :type: gws.Duration :value: '1d' Max cache age for capabilities documents. .. py:attribute:: forceCrs :type: Optional[gws.CrsName] Use this CRS for requests. .. py:attribute:: maxRequests :type: int :value: 0 Max concurrent requests to this source. .. py:attribute:: operations :type: Optional[list[OperationConfig]] Override operations reported in capabilities. .. py:attribute:: url :type: gws.Url Service url. .. py:class:: Object Bases: :py:obj:`gws.OwsProvider` OWS services Provider. .. py:method:: configure() Configuration hook. .. py:method:: configure_operations(operations_from_caps) .. py:method:: get_capabilities() .. py:method:: get_operation(verb, method=None) .. py:method:: prepare_operation(op: gws.OwsOperation, method: gws.RequestMethod = None, params=None) -> gws.base.ows.client.request.Args .. py:class:: OperationConfig(*args, **kwargs) Bases: :py:obj:`gws.Config` Custom OWS operation. .. py:attribute:: formats :type: Optional[list[str]] Supported formats. .. py:attribute:: params :type: Optional[dict] Operation parameters. (added in 8.1) .. py:attribute:: postUrl :type: Optional[gws.Url] URL for POST requests. .. py:attribute:: url :type: Optional[gws.Url] URL for GET requests. .. py:attribute:: verb :type: gws.OwsVerb OWS verb.