gemgis.web.load_wms#

gemgis.web.load_wms(url: str)#

Loading a WMS Service by URL

Parameters

url (str) – Link of the WMS Service, e.g. url='https://ows.terrestris.de/osm/service?'

Returns

wms – OWSLib WebMapService Object

Return type

owslib.map.wms111.WebMapService

New in version 1.0.x.

Example

>>> # Loading Libraries and WMS Service
>>> import gemgis as gg
>>> wms = gg.web.load_wms(url='https://ows.terrestris.de/osm/service?')
>>> wms
<owslib.map.wms111.WebMapService_1_1_1 at 0x1c434eb6370>

See also

load_as_map

Load Map from WMS Service

load_as_array

Load Map as array from WMS Service