geopython / OWSLib

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models.
https://owslib.readthedocs.io
BSD 3-Clause "New" or "Revised" License
381 stars 273 forks source link

WMS getmap passes kwargs improperly #313

Closed pipes161 closed 8 years ago

pipes161 commented 8 years ago

The getmapfunction of WebMapService(line 201) improperly passes kwargsto self.__build_getmap_request (line 255).

kwargsshould be passed as **kwargs, not kwargs=kwargs.

Version: 0.10.3

geographika commented 8 years ago

I also ran into this today.

See pull request #316 otherwise extra params are sent to server as 'kwargs': {'MYPARAM': 1},

kwilcox commented 8 years ago

Merged: https://github.com/geopython/OWSLib/pull/316