gws.plugin.ows_server.csw
¶
Source code: gws.plugin.ows_server.csw
Submodules¶
Package Contents¶
- class gws.plugin.ows_server.csw.Profile¶
Bases:
gws.Enum
Enumeration type.
Despite being declared as extending
Enum
(for IDE support), this class is actually just a simple object and intended to be used as a collection of attributes. It doesn’t provide anyEnum
-specific utilities.The rationale behind this is that we need
Enum
members (e.g.Color.RED
) to be scalars, and not complex objects as in the standardEnum
.- ISO = 'ISO'¶
- DCMI = 'DCMI'¶
- class gws.plugin.ows_server.csw.Config(*args, **kwargs)¶
Bases:
gws.base.ows.server.service.Config
CSW Service configuration
- class gws.plugin.ows_server.csw.Object¶
Bases:
gws.base.ows.server.service.Object
Baseclass for OWS services.
- property default_templates¶
- property default_metadata¶
- protocol¶
- supportedVersions = ['2.0.2']¶
- records: dict[str, gws.Metadata]¶
- index: list¶
- configure()¶
Configuration hook.
- post_configure()¶
Post-configuration hook.
- handle_request(req: gws.WebRequester) gws.ContentResponse ¶
- handle_getcapabilities(rd: core.Request)¶
- handle_describerecord(rd: core.Request)¶
- handle_getrecords(rd: core.Request)¶
- handle_getrecordbyid(rd: core.Request)¶
- handle_record(rd: core.Request)¶