[Qgis-user] WMS in QGIS: no map displayed

Jacolin Yves yjacolin at free.fr
Thu Feb 14 05:08:13 PST 2008


Hi, 

I send again this email in order to know if this is a known bug.

The description was:
> I have a small problem with my own WMS service. I don't know where to
> ask, as you can see, it is not easy to find the reason of my problem.
>
> Description: A WMS Service is hosted in my localhost, using mapserver
> 4.10.3. This WMS is working with my navigator (by requesting directly
> the server), with gvSIG.
>
> With QGIS, this is completly different, this is not link to one
> release as I tested it with the 0.8.1, 0.9.1 and the futur 0.9.2. The
> layer is loaded in QGIS, nothing appear in the map windows, if I
> click right on the layer name to load the properties windows, I can
> see the result of the GetCapabilities request (well I suppose that it
> is a result from the GetCapabilities request). I can see all
> information about my layers.
>
> Do you know why my map does not appear in the map windows ?
Yes I know ;) ...

I find where the problem is:

Here is the request send by QGIS:
http://localhost/cgi-bin/mapserv_wms?
	SERVICE=WMS&VERSION=1.0.0&
	REQUEST=GetMap&
	BBOX=203772.550229,2397786.527221,289662.028017,2470855.241209&
	SRS=EPSG:27582&
	WIDTH=892&HEIGHT=758&
	LAYERS=departements&
	FORMAT=image/png&TRANSPARENT=TRUE

Here is the correct one (the boox is not equivalent to the last request but 
both are close to Paris, France):
http://localhost/cgi-bin/mapserv_wms?SERVICE=WMS&
	VERSION=1.1.1&REQUEST=GetMap&
	BBOX=601145.6388854936,2424122.2621656144,604743.970275728,2426768.094070199&
	SRS=EPSG:27582&
	WIDTH=892&HEIGHT=758&
	LAYERS=departements&
	FORMAT=jpeg&TRANSPARENT=TRUE

The two bbox are **completly** different! And the second one (601145,2424122) 
seems correct to me.

All projections are correct: projection project: 27582, mapfile: 27582, etc.

Any ideas?

Y.
-- 
Yves Jacolin
---
http://softlibre.gloobe.org



More information about the Qgis-user mailing list