:tocdepth: 3 :py:mod:`gws.base.ows.server.core` ================================== .. py:module:: gws.base.ows.server.core .. autoapi-nested-parse:: Base data structures for OWS services. **Source code:** :source:`gws.base.ows.server.core` Module Contents --------------- .. py:exception:: Error Bases: :py:obj:`gws.Error` Generic GWS error. .. py:class:: FeatureCollection(*args, **kwargs) Bases: :py:obj:`gws.Data` Feature Collection. .. py:attribute:: members :type: list[FeatureCollectionMember] .. py:attribute:: numMatched :type: int .. py:attribute:: numReturned :type: int .. py:attribute:: timestamp :type: str .. py:attribute:: values :type: list .. py:class:: FeatureCollectionMember(*args, **kwargs) Bases: :py:obj:`gws.Data` A member of a Feature Collection. .. py:attribute:: feature :type: gws.Feature .. py:attribute:: layer :type: Optional[gws.Layer] .. py:attribute:: layerCaps :type: Optional[LayerCaps] .. py:data:: IMAGE_VERBS OWS verbs which are supposed to return images. .. py:class:: LayerCaps(*args, **kwargs) Bases: :py:obj:`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. .. py:attribute:: bounds :type: list[gws.Bounds] .. py:attribute:: children :type: list[LayerCaps] .. py:attribute:: featureName :type: str .. py:attribute:: featureNameQ :type: str .. py:attribute:: geometryName :type: str .. py:attribute:: geometryNameQ :type: str .. py:attribute:: hasLegend :type: bool .. py:attribute:: isGroup :type: bool .. py:attribute:: isSearchable :type: bool .. py:attribute:: layer :type: gws.Layer .. py:attribute:: layerName :type: str .. py:attribute:: layerNameQ :type: str .. py:attribute:: leaves :type: list[LayerCaps] .. py:attribute:: maxScale :type: int .. py:attribute:: minScale :type: int .. py:attribute:: model :type: Optional[gws.Model] .. py:attribute:: title :type: str .. py:attribute:: xmlNamespace :type: Optional[gws.XmlNamespace] .. py:class:: MetadataCollection(*args, **kwargs) Bases: :py:obj:`gws.Data` Metadata Collection. .. py:attribute:: members :type: list[gws.Metadata] .. py:attribute:: nextRecord :type: int .. py:attribute:: numMatched :type: int .. py:attribute:: numReturned :type: int .. py:attribute:: timestamp :type: str