gws.plugin.ows_server.wms.templates

Default templates of the WMS service.

The templates are py templates. Each module defines a main function that takes the template arguments (gws.base.ows.server.TemplateArgs) and returns the response, mostly built with gws.base.ows.server.templatelib.

Templates:

  • getCapabilities.cx.py: the capabilities document (ows.GetCapabilities).

GetFeatureInfo responses use the GML 2 template of the WFS service (wfs/templates/getFeature2.cx.py).

Source code: gws.plugin.ows_server.wms.templates