gws.base.ows.server.core

Base data structures for OWS services.

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.FeatureCollection(*args, **kwargs)

Bases: gws.Data

Feature Collection.

members: list[FeatureCollectionMember]
numMatched: int
numReturned: int
timestamp: str
values: list
class gws.base.ows.server.core.FeatureCollectionMember(*args, **kwargs)

Bases: gws.Data

A member of a Feature Collection.

feature: gws.Feature
layer: gws.Layer | None
layerCaps: LayerCaps | None
gws.base.ows.server.core.IMAGE_VERBS

OWS verbs which are supposed to return images.

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

Bases: gws.Data

Layer wrapper object.

A LayerCaps object wraps a Layer object and provides additional data needed to represent a layer in an OWS service.

bounds: list[gws.Bounds]
children: list[LayerCaps]
featureName: str
featureNameQ: str
geometryName: str
geometryNameQ: str
hasLegend: bool
isGroup: bool
isSearchable: bool
layer: gws.Layer
layerName: str
layerNameQ: str
leaves: list[LayerCaps]
maxScale: int
minScale: int
model: gws.Model | None
title: str
xmlNamespace: gws.XmlNamespace | None