gws.base.ows.server.core

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

Module Contents

exception gws.base.ows.server.core.Error

Bases: gws.Error

GWS error.

class gws.base.ows.server.core.Request(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

alwaysXY: bool
bounds: gws.Bounds
crs: gws.Crs
isSoap: bool = False
project: gws.Project
req: gws.WebRequester
service: gws.OwsService
targetCrs: gws.Crs
version: str
xmlElement: gws.XmlElement | None
class gws.base.ows.server.core.LayerCaps(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

layer: gws.Layer
hasLegend: bool
hasSearch: bool
layerName: str
layerQname: str
featureName: str
featureQname: str
geometryName: str
geometryQname: str
maxScale: int
minScale: int
bounds: list[gws.Bounds]
children: list[LayerCaps]
ancestors: list[LayerCaps]
model: gws.Model | None
class gws.base.ows.server.core.LayerCapsTree(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

root: LayerCaps | None
roots: list[LayerCaps]
leaves: list[LayerCaps]
class gws.base.ows.server.core.FeatureCollectionMember(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

feature: gws.Feature
layer: gws.Layer | None
options: gws.LayerOwsOptions
class gws.base.ows.server.core.FeatureCollection(*args, **kwargs)

Bases: gws.Data

Basic data object.

This object can be instantiated by passing one or or dict arguments and/or keyword args. All dicts keys and keywords become attributes of the object.

Accessing an undefined attribute returns None and no error is raised, unless the attribute name starts with an underscore.

members: list[FeatureCollectionMember]
timestamp: str
numMatched: int
numReturned: int