gws.plugin.mbtiles_layer.grabber

MBTiles grabber.

Source code: gws.plugin.mbtiles_layer.grabber

Module Contents

class gws.plugin.mbtiles_layer.grabber.Object(opts: gws.base.grabber.Options, msOptions: gws.MapServerLayerOptions)

Bases: gws.base.grabber.box.Object

Box grabber that renders an MBTiles file with MapServer.

maxRequestPixels = 9000
msOptions: gws.MapServerLayerOptions

MapServer layer options for the file.

sourceCrs
fetch_box_as_bytes(bounds, w, h, params=None)
fetch_box_as_image(bounds, w, h, params=None)