[QGIS-trac] [Quantum GIS] #1115: WMS Layer GetMap Request with
Wrong Parameters
Quantum GIS
qgis at qgis.org
Thu May 29 02:53:00 EDT 2008
#1115: WMS Layer GetMap Request with Wrong Parameters
------------------------------------------------+---------------------------
Reporter: Pinpin | Owner: nobody
Type: defect | Status: new
Priority: major: does not work as expected | Milestone: Version 1.0
Component: Build/Install | Version: HEAD
Keywords: projection, wms | Platform_version: Linux/Ubuntu 8.04
Platform: Debian | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
WMS Request doesn't work as expected with a different projection than
EPSG:4326. [[BR]]
The parameters BBOX and WIDTH and HEIGHT doesn't match with the SRS
parameter. It doesn't match either with the projection of the map.
Here is the url of the WMS : http://www.geosignal.org/cgi-bin/wmsmap?
The projection of the map is 27582 : NTF (Paris)/France II and all the
layers included the WMS layer are in this projection.
Here is the error of QGIS :
{{{
Ne peut dessiner GéoSIGNAL parce que:
(code d'erreur inconnu d'un serveur de post-1.3 WMS)
Le fournisseur de WMS a également rapporté:
msDrawMap(): Image handling error. Unable to initialize image.
msCalculateScale(): General error message. Invalid image extent,
minx=2.407860, miny=46.227500, maxx=2.407860, maxy=46.227500.
C'est probablement dû à un bogue dans le rapport du programme QGIS.
Reportez cette erreur.
URL Éprouvé:http://www.geosignal.org/cgi-
bin/wmsmap?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-6.062580,41.163200,10.878300,51.291800&SRS=EPSG:27582&WIDTH=1&HEIGHT=1&LAYERS=RASTER4000k&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE
}}}
Indeed, the url should be :
http://www.geosignal.org/cgi-
bin/wmsmap?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=0,1600000,1250000,2600000&SRS=EPSG:27582&WIDTH=500&HEIGHT=400&LAYERS=RASTER4000k&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE
Qgis set a good SRS (EPSG:2758) but the BBOX is false.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1115>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list