GeoHealthCheck.plugins.probe.wfs ================================ .. py:module:: GeoHealthCheck.plugins.probe.wfs Classes ------- .. autoapisummary:: GeoHealthCheck.plugins.probe.wfs.WfsGetFeatureBbox GeoHealthCheck.plugins.probe.wfs.WfsGetFeatureBboxAll Module Contents --------------- .. py:class:: WfsGetFeatureBbox Bases: :py:obj:`GeoHealthCheck.probe.Probe` do WFS GetFeature in BBOX .. py:attribute:: NAME :value: 'WFS GetFeature in BBOX for SINGLE FeatureType' Short name of Plugin. TODO: i18n e.g. NAME_nl_NL ? .. py:attribute:: DESCRIPTION :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ WFS GetFeature in BBOX for SINGLE FeatureType. """ .. raw:: html
Longer description of Plugin. TODO: optional i18n e.g. DESCRIPTION_de_DE ? .. py:attribute:: RESOURCE_TYPE :value: 'OGC:WFS' Type of GHC Resource e.g. 'OGC:WMS', default not applicable. .. py:attribute:: REQUEST_METHOD :value: 'POST' HTTP request method capitalized, GET (default) or POST. .. py:attribute:: REQUEST_HEADERS `dict` of optional HTTP request headers. .. py:attribute:: REQUEST_TEMPLATE :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ {bbox[0]} {bbox[1]} {bbox[2]} {bbox[3]} """ .. raw:: html
Template in standard Python `str.format(*args)`. The variables like {service} and {version} within a template are filled from actual values for parameters defined in PARAM_DEFS and substituted from values or constant values specified by user in GUI and stored in DB. .. py:attribute:: PARAM_DEFS Param defs .. py:attribute:: CHECKS_AVAIL Checks for WFS GetFeature Response available. Optionally override Check PARAM_DEFS using set_params e.g. with specific `value` or even `name`. .. py:attribute:: layer_count :value: 0 .. py:method:: get_metadata(resource, version='1.1.0') Get metadata, specific per Resource type. :param resource: :param version: :return: Metadata object .. py:method:: expand_params(resource) Called after creation. Use to expand PARAM_DEFS, e.g. from Resource metadata like WMS Capabilities. See e.g. WmsGetMapV1 class. :param resource: :return: None .. py:class:: WfsGetFeatureBboxAll Bases: :py:obj:`WfsGetFeatureBbox` Do WFS GetFeature for each FeatureType in WFS. .. py:attribute:: NAME :value: 'WFS GetFeature in BBOX for ALL FeatureTypes' Short name of Plugin. TODO: i18n e.g. NAME_nl_NL ? .. py:attribute:: DESCRIPTION :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ WFS GetFeature in BBOX for ALL FeatureTypes. """ .. raw:: html
Longer description of Plugin. TODO: optional i18n e.g. DESCRIPTION_de_DE ? .. py:attribute:: PARAM_DEFS Param defs .. py:attribute:: wfs :value: None .. py:attribute:: feature_types :value: None .. py:method:: expand_params(resource) Called after creation. Use to expand PARAM_DEFS, e.g. from Resource metadata like WMS Capabilities. See e.g. WmsGetMapV1 class. :param resource: :return: None .. py:method:: before_request() Before request to service, overridden from base class .. py:method:: perform_request() Perform actual request to service, overridden from base class