gws.plugin.ows_client.wms.grabber

WMS grabber.

Source code: gws.plugin.ows_client.wms.grabber

Module Contents

class gws.plugin.ows_client.wms.grabber.Object(opts: gws.base.grabber.Options, provider: Object.__init__.provider, sourceLayers: list[gws.SourceLayer], sourceCrs: gws.Crs)

Bases: gws.base.grabber.box.Object

Box grabber that fetches map images from a WMS service with GetMap.

maxRequestPixels
provider: Object.provider

WMS service provider.

sourceCrs
sourceLayers: list[gws.SourceLayer]

Source layers to render.

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