[Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1
Richard Duivenvoorde
rdmailings at duif.net
Mon Oct 21 11:32:28 PDT 2013
On 21-10-13 20:07, Miguel Ángel Castro wrote:
> I am using QGIS 2.0.1 standalone installed in a Windows 7 64 bits system.
>
> Example of WMS datasource: (datasource WMS 1.1.1) EPSG:32628
>
> http://idecan2.grafcan.es/ServicioWMS/EspNat
>
> In layer properties/metadata you can see the information from
> datasource, but no display the layer (not load data) in canvas.
>
> In log messages: Map request error (status: 200 .... getDouble(): Symbol
> definition error. Parsing error near (96): (line 1).
>
> Does anybody have an idea what is the problem?
Hi Miguel,
the error message that you see is a (Minnesota) Mapserver error message.
Somewhere in the style definitions it expects a number (or not).
This url I get from QGIS in debug mode, and gives you your error:
http://idecan2.grafcan.es/ServicioWMS/EspNat?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=152208.544610834447667,2940195.98510535480454564,692329.70807293173857033,3376338.62686863588169217&SRS=EPSG:32628&WIDTH=670&HEIGHT=541&LAYERS=EENN&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&TRANSPARENT=TRUE
Bug if I remove the "&DPI=96&MAP_RESOLUTION=96" part from it, I get a map:
http://idecan2.grafcan.es/ServicioWMS/EspNat?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=152208.544610834447667,2940195.98510535480454564,692329.70807293173857033,3376338.62686863588169217&SRS=EPSG:32628&WIDTH=670&HEIGHT=541&LAYERS=EENN&STYLES=&FORMAT=image/png
I'm not familiar with the exact WMS-standard, but as most WMS servers I
know (and use) can handle these two query parameters from QGIS, I think
it is a Mapserver configuration problem/error. You cannot let QGIS
remove those params I think.
Regards,
Richard Duivenvoorde
More information about the Qgis-user
mailing list