gws.plugin.ows_server.wfs

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.

References

Source code: gws.plugin.ows_server.wfs

Package Contents

class gws.plugin.ows_server.wfs.Config

Bases: gws.base.ows.server.service.Config

WFS Service configuration

class gws.plugin.ows_server.wfs.Object

Bases: gws.base.ows.server.service.Object

isOwsCommon = True
isVectorService = True
protocol
SEARCH_MAX_TOTAL = 100000
supportedVersions = ['2.0.2', '2.0.1', '2.0.0']
configure_metadata()
configure_operations()
configure_templates()
get_features(sr: gws.base.ows.server.request.Object, value_ref: str = '') gws.base.ows.server.FeatureCollection
handle_describe_feature_type(sr: gws.base.ows.server.request.Object)
handle_describe_stored_queries(sr: gws.base.ows.server.request.Object)
handle_get_capabilities(sr: gws.base.ows.server.request.Object)
handle_get_feature(sr: gws.base.ows.server.request.Object)
handle_get_property_value(sr: gws.base.ows.server.request.Object)
handle_list_stored_queries(sr: gws.base.ows.server.request.Object)
init_request(req)
layer_is_suitable(layer: gws.Layer)
requested_layer_caps(sr: gws.base.ows.server.request.Object)
gws.plugin.ows_server.wfs.STORED_QUERY_GET_FEATURE_BY_ID = 'urn:ogc:def:query:OGC-WFS::GetFeatureById'