module documentation

Undocumented

Function generic_render_box Undocumented
Function mapproxy_back_cache_config Undocumented
Function mapproxy_layer_config Undocumented
Function mpx_raster_render Undocumented
Function _annotate Undocumented
Function _annotate_image Undocumented
Function _box_to_image Undocumented
Constant _BOX_BUFFER Undocumented
Constant _BOX_SIZE Undocumented
Type Alias _GetBoxFn Undocumented
def generic_render_box(layer: gws.ILayer, lri: gws.LayerRenderInput, get_box: _GetBoxFn) -> bytes: (source)

Undocumented

def mapproxy_back_cache_config(layer: gws.ILayer, mc, url, grid_uid): (source)

Undocumented

def mapproxy_layer_config(layer: gws.ILayer, mc, source_uid): (source)

Undocumented

def mpx_raster_render(layer: gws.ILayer, lri: gws.LayerRenderInput): (source)

Undocumented

def _annotate(content, text): (source)

Undocumented

def _annotate_image(img, text): (source)

Undocumented

def _box_to_image(bounds: gws.Bounds, width: float, height: float, max_size: int, buf: int, annotate: bool, get_box: _GetBoxFn) -> gws.lib.image.Image: (source)

Undocumented

_BOX_BUFFER: int = (source)

Undocumented

Value
200
_BOX_SIZE: int = (source)

Undocumented

Value
1000
_GetBoxFn = (source)

Undocumented

Value
t.Callable[[gws.Bounds, float, float], bytes]