<div dir="ltr">Thank you, it is a mistake I did not correct (corected now) but it does not totally correct the problem. If the isBaseLayer prameter is true, I can see it but if it is false the tile stay white.<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/11/23 Richard Greenwood <span dir="ltr"><<a href="mailto:richard.greenwood@gmail.com" target="_blank">richard.greenwood@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Just a guess, but I see two different coordinate systems in your WMS request: <br></div>  900913 is web mercator<br></div>  4326 is long/lat<br></div><div>That does not look correct.<br><br></div>

Rich<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Sat, Nov 23, 2013 at 12:30 AM, Gaëtan Palka <span dir="ltr"><<a href="mailto:palka.gaetan@gmail.com" target="_blank">palka.gaetan@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I continue my test to be able to shaw my WMS from qgis-server. I follow :<br><a href="http://live.osgeo.org/en/quickstart/openlayers_quickstart.html" target="_blank">http://live.osgeo.org/en/quickstart/openlayers_quickstart.html</a><br>


</div>but my tiles stay white. The resultat of :<br><a href="http://localhost/cgi-bin/alea37_900913/qgis_mapserv.fcgi?MAP=%2Fusr%2Flib%2Fcgi-bin%2Falea37_900913%2Falea37_900913.qgs&LAYERS=alea37_900913&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256" target="_blank">http://localhost/cgi-bin/alea37_900913/qgis_mapserv.fcgi?MAP=%2Fusr%2Flib%2Fcgi-bin%2Falea37_900913%2Falea37_900913.qgs&LAYERS=alea37_900913&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=EPSG%3A4326&BBOX=0,-90,180,90&WIDTH=256&HEIGHT=256</a><br>


</div>The webbrowser give any error, only a white tile.<br><br></div>Thank you for help<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/22 Gaëtan Palka <span dir="ltr"><<a href="mailto:palka.gaetan@gmail.com" target="_blank">palka.gaetan@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I do not use mapserver and mapfile. I use "qgis-mapserver" which is the cartographic server of the qgis project. It will be easier to use mapserver but I need to have a really great precision form my representation. And qgis-server is exactly what I need.<br>



</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/22  <span dir="ltr"><<a href="mailto:Steve.Toutant@inspq.qc.ca" target="_blank">Steve.Toutant@inspq.qc.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<br><font face="sans-serif">You can use shp2img to test your mapfile
before using it in OL</font>
<br><font face="sans-serif"><a href="http://mapserver.org/fr/utilities/shp2img.html" target="_blank">http://mapserver.org/fr/utilities/shp2img.html</a></font>
<br>
<br><font face="sans-serif">set debug 5 under MAP and LAYER tag
in your mafile and have a look at mapserver log.</font>
<br><font face="sans-serif"><br>
If it works with shp2img the problem is your OL config</font>
<br>
<br>
<br>
<br>
<p></p><table width="100%">
<tbody><tr valign="top">
<td width="40%"><font face="sans-serif" size="1"><b>Gaëtan Palka <<a href="mailto:palka.gaetan@gmail.com" target="_blank">palka.gaetan@gmail.com</a>>@<a href="http://lists.osgeo.org" target="_blank">lists.osgeo.org</a></b>
</font>
<br><font face="sans-serif" size="1">Envoyé par : <a href="mailto:openlayers-users-bounces@lists.osgeo.org" target="_blank">openlayers-users-bounces@lists.osgeo.org</a></font>
<p><font face="sans-serif" size="1">2013-11-22 13:12</font>
</p></td><td width="59%">
<table width="100%">
<tbody><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">A</font></div>
</td><td><font face="sans-serif" size="1">openlayers-users <<a href="mailto:openlayers-users@lists.osgeo.org" target="_blank">openlayers-users@lists.osgeo.org</a>></font>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">cc</font></div>
</td><td>
</td></tr><tr valign="top">
<td>
<div align="right"><font face="sans-serif" size="1">Objet</font></div>
</td><td><font face="sans-serif" size="1">[OpenLayers-Users] OL 2.13 and WMS from
qgis-mapserver</font></td></tr></tbody></table>
<br>
<table>
<tbody><tr valign="top">
<td>
</td><td></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br>
<br>
<br>
<br>
<br><font size="3">hi,<br>
</font>
<br><font size="3">I work on Ubuntu 12.04 LTS and I want to show a WMS produced
by qgis-mapserver. All is OK want I open my WMS with qgis desktop but when
I want to show it with OL my WMS does not appear and firebug does not says
that there is an error.</font>
<br><font size="3">Here my .js :<br>
<br>
function init() {<br>
    var map = new OpenLayers.Map('map',{controls:[]});<br>
<br>
    map.addControl(new OpenLayers.Control.LayerSwitcher());<br>
    map.addControl(new OpenLayers.Control.Navigation());<br>
<br>
    var osmLayer = new OpenLayers.Layer.OSM();<br>
    var wms = new OpenLayers.Layer.WMS(<br>
        'alea', '</font><a href="http://localhost/cgi-bin/alea37_900913/qgis_mapserv.fcgi" target="_blank"><font color="blue" size="3"><u>http://localhost/cgi-bin/alea37_900913/qgis_mapserv.fcgi</u></font></a><font size="3">',<br>




        {<br>
        layers: 'alea37_900913',<br>
        format: 'image/png',<br>
        }<br>
    );<br>
    map.addLayer(osmLayer);<br>
    map.addLayer(wms);<br>
    map.setCenter(new OpenLayers.LonLat(71000,6000000),10);<br>
<br>
}<br>
</font>
<br><font size="3">My data (shp and qgis project) is in the folder /usr/lib/cgi-bin/alea37_900913.<br>
</font>
<br><font size="3">I used this tutorial :</font><font color="blue" size="3"><u><br>
</u></font><a href="http://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/" target="_blank"><font color="blue" size="3"><u>http://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/</u></font></a><font size="3"><br>




</font>
<br><font size="3">Thank you by advance for help.</font><tt><font>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></font></tt>
<br>
<br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>
Richard Greenwood<br><a href="mailto:richard.greenwood@gmail.com" target="_blank">richard.greenwood@gmail.com</a><br>
<a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a>
</font></span></div>
</blockquote></div><br></div>