-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wmsimage not supporting wms version #602
Comments
Hi, @carlosloslas! Thanks for the feedback. Is the patch |
Hi, kwargs.get('version', None) won't work as it will pass None instead of a valid version value (which is mandatory).
|
Hi @molinav, thanks for the reply. I'm not running a dev version of the package, so I can't say for sure. I've been working with OWSLib all day and I'm very confident it will. For a simple patch I would happily do some testing, but I've never contributed to a open source package and would need some guidance. |
Been using OWSLib to extract pictures from a WMS server version 1.3.0 and was looking to visualise them with Basemap's wmsimage.
I am seeing in the error traces that when the WebMapService instance is initialised is missing the version number is missing, which results in an initialisation of WMS version 1.1.1 , which causes the errors.
I looked at the source code and the problem is line 4455 of basemap/init.py
The wms is initialised just with the server url
wms = WebMapService(server)
and in reality it should have the version number included therewms = WebMapService(server, version=kwargs['version'])
The text was updated successfully, but these errors were encountered: