[Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

Jonathan Moules jonathanmoules at warwickshire.gov.uk
Tue Oct 22 03:31:30 PDT 2013


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.
I guess that MapServer can't handle stuff it's not expecting. Maybe a
config option as Richard suggests.

Jonathan



On 21 October 2013 19:32, Richard Duivenvoorde <rdmailings at duif.net> wrote:

> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131022/75a2cc32/attachment.html>


More information about the Qgis-user mailing list