[Qgis-developer] QGIS Mapserver GetMap VERSION parameter

Pedro Venâncio pedrongvenancio at yahoo.com
Mon Jun 20 04:36:14 EDT 2011


Hello Andreas,

For me, as a user, this is even good! However, as the standard states that the VERSION parameter is required, I thought this could be a server glitch.

Like you, at first sight, this does not seem a problem to me, quite the opposite, but there may be some inconvenience, since it does not conform to the standard.

Best regards,
Pedro





________________________________
From: Andreas Neumann <a.neumann at carto.net>
To: qgis-developer at lists.osgeo.org
Sent: Monday, June 20, 2011 7:37 AM
Subject: Re: [Qgis-developer] QGIS Mapserver GetMap VERSION parameter

HI Pedro,

Are you sure this is really a problem? Any special reasons why QGIS server should refuse to deliver GetMap when the version parameter is omitted? Are there any interoperability problems with it?

To me it seems that QGIS server is just more tolerant here - and I personally do not care. But there may be reasons that I am unaware of.

Andreas

On Sun, 19 Jun 2011 15:39:33 -0700 (PDT), Pedro Venâncio wrote:
> Hello,
> 
> I found that there is something that is not well in QGIS mapserver,
> because in the GetCapabilities response appears the version 1.3.0:
> 
> However, if you make a GetMap request in the browser, it responds even
> without the VERSION parameter. This is strange, because this is a
> required parameter of the GetMap operation, and should launch an
> exception indicating the missing parameter, but instead the browser
> returns the map normally.
> 
> The request I am making is this:
> 
> 
> http://localhost/cgi-bin/teste_qgismapserver/qgis_mapserv.fcgi?REQUEST=GetMap&SERVICE=WMS&LAYERS=perigosidade_rgb&STYLES=default&SRS=EPSG:20790&BBOX=283823,414006,290611,418260&WIDTH=600&HEIGHT=600&FORMAT=image/png&EXCEPTIONS=application/vnd.ogc.se_xml
> 
> and the answer, regardless of whether or not the VERSION parameter, is
> the image attached.
> 
> This is not strange?
> 
> (I am using Ubuntu 10.04).
> 
> Best regards,
> Pedro Venâncio

-- --
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110620/2d9e28d1/attachment-0001.html


More information about the Qgis-developer mailing list