<div dir="ltr">Looking at the specs briefly, it doesn't seem like the ability to set DPI explicitly is specified in WMS 1.1.0 or 1.3.0.<div>I guess that MapServer can't handle stuff it's not expecting. Maybe a config option as Richard suggests.</div>

<div><br></div><div>Jonathan<br><div class="gmail_extra"><div><br></div>
<br><br><div class="gmail_quote">On 21 October 2013 19:32, Richard Duivenvoorde <span dir="ltr"><<a href="mailto:rdmailings@duif.net" target="_blank">rdmailings@duif.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div>On 21-10-13 20:07, Miguel Ángel Castro wrote:<br>
> I am using QGIS 2.0.1 standalone installed in a  Windows 7 64 bits system.<br>
><br>
> Example of WMS datasource: (datasource WMS 1.1.1) EPSG:32628<br>
><br>
> <a href="http://idecan2.grafcan.es/ServicioWMS/EspNat" target="_blank">http://idecan2.grafcan.es/ServicioWMS/EspNat</a><br>
><br>
> In layer properties/metadata you can see the information from<br>
> datasource, but no display the layer (not load data) in canvas.<br>
><br>
> In log messages: Map request error (status: 200 .... getDouble(): Symbol<br>
> definition error. Parsing error near (96): (line 1).<br>
><br>
> Does anybody have an idea what is the problem?<br>
<br>
</div></div>Hi Miguel,<br>
<br>
the error message that you see is a (Minnesota) Mapserver error message.<br>
Somewhere in the style definitions it expects a number (or not).<br>
<br>
This url I get from QGIS in debug mode, and gives you your error:<br>
<br>
<a href="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" target="_blank">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</a><br>



<br>
Bug if I remove the "&DPI=96&MAP_RESOLUTION=96" part from it, I get a map:<br>
<br>
<a href="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" target="_blank">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</a><br>



<br>
I'm not familiar with the exact WMS-standard, but as most WMS servers I<br>
know (and use) can handle these two query parameters from QGIS, I think<br>
it is a Mapserver configuration problem/error. You cannot let QGIS<br>
remove those params I think.<br>
<br>
Regards,<br>
<br>
<br>
Richard Duivenvoorde<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>