:py:mod:`GeoHealthCheck.plugins.probe.wfs`
==========================================
.. py:module:: GeoHealthCheck.plugins.probe.wfs
Module Contents
---------------
Classes
~~~~~~~
.. autoapisummary::
GeoHealthCheck.plugins.probe.wfs.WfsGetFeatureBbox
GeoHealthCheck.plugins.probe.wfs.WfsGetFeatureBboxAll
.. 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'
.. py:attribute:: DESCRIPTION
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
WFS GetFeature in BBOX for SINGLE FeatureType.
"""
.. raw:: html
.. py:attribute:: RESOURCE_TYPE
:value: 'OGC:WFS'
.. py:attribute:: REQUEST_METHOD
:value: 'POST'
.. py:attribute:: 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
.. 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: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'
.. py:attribute:: DESCRIPTION
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
WFS GetFeature in BBOX for ALL FeatureTypes.
"""
.. raw:: html
.. py:attribute:: PARAM_DEFS
.. 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