<div dir="ltr"><div>I agree.<br></div><div><br>Often is not known the kind of wms server so I apply always the map_resolution and the dpi parameters. <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/10/22 Andreas Neumann <span dir="ltr"><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I think the dpi parameter is a useful extension and should be added by<br>
the QGIS client (given that the dpi are really correctly detected).<br>
<br>
If a WMS server chokes on additional paramters it is not very well<br>
designed. They can just ignore these extra parameters if they do not<br>
know how to deal with it.<br>
<br>
Just my opinion.<br>
<br>
Andreas<br>
<br>
Am 22.10.2013 10:30, schrieb Bernhard Ströbl:<br>
<div class="HOEnZb"><div class="h5">> Hi all,<br>
><br>
> I have a similar issue with geoserver.<br>
> QGIS2 request is:<br>
> <a href="http://my_internal_server/geoserver/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=my_bbox&CRS=my_crs&WIDTH=242&HEIGHT=278&LAYERS=my_layer&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE" target="_blank">http://my_internal_server/geoserver/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=my_bbox&CRS=my_crs&WIDTH=242&HEIGHT=278&LAYERS=my_layer&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE</a><br>

><br>
> entering this URL in the browser results in a geoserver error message.<br>
> However if I leave out FORMAT_OPTIONS=dpi:96 (which, according to the<br>
> geoserver docs [1] should be supported) the map image is returned.<br>
> Two more remarks<br>
> 1) not all layers fail with this request<br>
> 2) QGIS 1.8 did not add this dpi-96 stuff, so all my layers worked in 1.8<br>
><br>
> What was the reason to intoduce the dpi96 stuff and could we probably<br>
> change that to a configurable option (yes/no) of the WMS connection?<br>
><br>
> Bernhard<br>
><br>
> [1] <a href="http://docs.geoserver.org/latest/en/user/services/wms/vendor.html" target="_blank">http://docs.geoserver.org/latest/en/user/services/wms/vendor.html</a><br>
><br>
> Am 22.10.2013 10:12, schrieb Miguel Ángel Castro:<br>
>> Hi Richard,<br>
>><br>
>> I can see what you show to me.<br>
>><br>
>> But, this problem not takes place in QGIS 1.8.0 with this WMS data<br>
>> source (<br>
>> <a href="http://idecan2.grafcan.es/ServicioWMS/EspNat" target="_blank">http://idecan2.grafcan.es/ServicioWMS/EspNat</a>) and similar others.<br>
>><br>
>> Something in wmsprovider.dll of QGIS 2.0.1?<br>
>><br>
>> Thanks in advance<br>
>> Miguel Ángel Castro<br>
>><br>
>><br>
>><br>
>> __________ Information from ESET Mail Security, version of virus<br>
>> signature database 8948 (20131022) __________<br>
>><br>
>> The message was checked by ESET Mail Security.<br>
>> <a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
>><br>
><br>
><br>
> __________ Information from ESET Mail Security, version of virus<br>
> signature database 8948 (20131022) __________<br>
><br>
> The message was checked by ESET Mail Security.<br>
> <a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">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>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">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></div></div></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>
. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br>
</div>