Skip to content

wmsimage not supporting wms version #602

Open
@carlosloslas

Description

@carlosloslas

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.

image

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 there wms = WebMapService(server, version=kwargs['version'])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions