module documentation

Server utilities.

Function empty_feature_collection Undocumented
Function feature_collection Undocumented
Function feature_name_matches Undocumented
Function layer_caps_by_feature_name Undocumented
Function layer_caps_by_layer_name Undocumented
Function layer_caps_tree Undocumented
Function layer_name_matches Undocumented
Function one_of_params Undocumented
Function render_map_bbox Undocumented
Function service_url_path Undocumented
Constant DEFAULT_OWS_XML_NAMESPACE Undocumented
Function _collect_layer_caps Undocumented
Function _leaves Undocumented
def empty_feature_collection(rd: core.Request, results: list[gws.SearchResult]) -> core.FeatureCollection: (source)

Undocumented

def feature_collection(rd: core.Request, results: list[gws.SearchResult]) -> core.FeatureCollection: (source)

Undocumented

def feature_name_matches(lc: core.LayerCaps, name: str) -> bool: (source)

Undocumented

def layer_caps_by_feature_name(lct: core.LayerCapsTree, names: t.Optional[(str|list[str])] = None, with_ancestors=False) -> list[core.LayerCaps]: (source)

Undocumented

def layer_caps_by_layer_name(lct: core.LayerCapsTree, names: t.Optional[(str|list[str])] = None, with_ancestors=False) -> list[core.LayerCaps]: (source)

Undocumented

def layer_caps_tree(rd: core.Request, root_layer: t.Optional[gws.ILayer] = None) -> core.LayerCapsTree: (source)

Undocumented

def layer_name_matches(lc: core.LayerCaps, name: str) -> bool: (source)

Undocumented

def one_of_params(rd: core.Request, *names): (source)

Undocumented

def render_map_bbox(rd: core.Request, lcs: list[core.LayerCaps]) -> gws.ContentResponse: (source)

Undocumented

def service_url_path(service: gws.IOwsService, project: t.Optional[gws.IProject] = None) -> str: (source)

Undocumented

DEFAULT_OWS_XML_NAMESPACE = (source)

Undocumented

Value
gws.XmlNamespace(xmlns='gws',
                 uri='http://gbd-websuite.de',
                 schemaLocation='',
                 version='')
def _collect_layer_caps(rd: core.Request, lct: core.LayerCapsTree, layer: gws.ILayer, parent_lc: t.Optional[core.LayerCaps] = None): (source)

Undocumented

def _leaves(lct, fn, names, with_ancestors): (source)

Undocumented