gws.base.ows.server.action

OWS server action.

Source code: gws.base.ows.server.action

Module Contents

class gws.base.ows.server.action.Config

Bases: gws.base.action.Config

Action that serves the configured OWS services.

class gws.base.ows.server.action.GetSchemaRequest(*args, **kwargs)

Bases: gws.Request

Request for an XML schema.

namespace: str

Namespace prefix, optionally with the .xsd extension.

class gws.base.ows.server.action.GetServiceRequest(*args, **kwargs)

Bases: gws.Request

Request to an OWS service.

serviceUid: str

Service uid.

class gws.base.ows.server.action.Object

Bases: gws.base.action.Object

OWS action.

Dispatches requests to the configured OWS services and serves XML schemas generated for layer namespaces.

get_schema(req: gws.WebRequester, p: GetSchemaRequest) → gws.ContentResponse

Return an XML schema for the layers with the given namespace prefix.

get_service(req: gws.WebRequester, p: GetServiceRequest) → gws.ContentResponse

Handle an OWS service request.

post_service(req: gws.WebRequester, p: GetServiceRequest) → gws.ContentResponse

Handle an OWS service request.