gws.base.ows.server.request

Service Request object.

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

Module Contents

class gws.base.ows.server.request.Object(service: gws.OwsService, req: gws.WebRequester, params: dict, xml_element: gws.XmlElement = None, is_soap=False)
alwaysXY: bool
bounds: gws.Bounds
crs: gws.Crs
isSoap: bool = False
layerCapsList: list[gws.base.ows.server.core.LayerCaps]
operation: gws.OwsOperation
params: dict
project: gws.Project
pxSize: gws.Size
req: gws.WebRequester
resolution: float
resX: float
resY: float
service: gws.OwsService
targetCrs: gws.Crs
version: str
xmlElement: gws.XmlElement | None
xmlnsReplacements: dict
enum_layer_caps()
find_operation(param: str) gws.OwsOperation | None
int_param(param_names: str, default: int | None = None) int
list_param(param_names: str) list[str]
load_project(required=False)
requested_bounds(param_names: str) gws.Bounds | None
requested_crs(param_names: str) gws.Crs | None
requested_feature_count(param_names: str) int
requested_format(param_names: str) str
requested_operation(param_names: str) gws.OwsOperation
requested_version(param_names: str) str
requested_xmlns_replacements()
require_project()
string_param(param_names: str, values: set[str] | None = None, default: str | None = None) str
class gws.base.ows.server.request.TemplateArgs(*args, **kwargs)

Bases: gws.TemplateArgs

Arguments for service templates.

featureCollection: gws.base.ows.server.core.FeatureCollection
gmlVersion: int
intVersion: int
layerCapsList: list[gws.base.ows.server.core.LayerCaps]
metadataCollection: gws.base.ows.server.core.MetadataCollection
operation: gws.OwsOperation
project: gws.Project
request: Object
service: gws.OwsService
serviceUrl: str
sr: Object
tileMatrixSets: list[gws.TileMatrixSet]
url_for: Callable
version: str