:tocdepth: 3 :py:mod:`gws.plugin.ows_server.wfs` =================================== .. py:module:: gws.plugin.ows_server.wfs .. autoapi-nested-parse:: WFS Service. Implements WFS 2.0 "Basic" profile. This implementation only supports ``GET`` requests with ``KVP`` encoding. Supported ad hoc query parameters: - ``TYPENAMES`` - ``SRSNAME`` - ``BBOX`` - ``STARTINDEX`` - ``COUNT`` - ``OUTPUTFORMAT`` - ``RESULTTYPE`` @TODO: FILTER, SORTBY Supported stored queries: - ``urn:ogc:def:query:OGC-WFS::GetFeatureById`` For ``GetPropertyValue`` only simple ``VALUEREFERENCE`` (field name) is supported. .. rubric:: References - OGC 09-025r1 (https://portal.ogc.org/files/?artifact_id=39967) - https://mapserver.org/ogc/wfs_server.html - https://docs.geoserver.org/latest/en/user/services/wfs/reference.html **Source code:** :source:`gws.plugin.ows_server.wfs` Package Contents ---------------- .. py:class:: Config Bases: :py:obj:`gws.base.ows.server.service.Config` WFS Service configuration .. py:class:: Object Bases: :py:obj:`gws.base.ows.server.service.Object` .. py:attribute:: isOwsCommon :value: True .. py:attribute:: isVectorService :value: True .. py:attribute:: protocol .. py:attribute:: SEARCH_MAX_TOTAL :value: 100000 .. py:attribute:: supportedVersions :value: ['2.0.2', '2.0.1', '2.0.0'] .. py:method:: configure_metadata() .. py:method:: configure_operations() .. py:method:: configure_templates() .. py:method:: get_features(sr: gws.base.ows.server.request.Object, value_ref: str = '') -> gws.base.ows.server.FeatureCollection .. py:method:: handle_describe_feature_type(sr: gws.base.ows.server.request.Object) .. py:method:: handle_describe_stored_queries(sr: gws.base.ows.server.request.Object) .. py:method:: handle_get_capabilities(sr: gws.base.ows.server.request.Object) .. py:method:: handle_get_feature(sr: gws.base.ows.server.request.Object) .. py:method:: handle_get_property_value(sr: gws.base.ows.server.request.Object) .. py:method:: handle_list_stored_queries(sr: gws.base.ows.server.request.Object) .. py:method:: init_request(req) .. py:method:: layer_is_suitable(layer: gws.Layer) .. py:method:: make_search(sr: gws.base.ows.server.request.Object, lcs) .. py:method:: requested_layer_caps(sr: gws.base.ows.server.request.Object) .. py:data:: STORED_QUERY_GET_FEATURE_BY_ID :value: 'urn:ogc:def:query:OGC-WFS::GetFeatureById'