<br><font size=2 face="sans-serif">Thanks Daniel,</font>
<br><font size=2 face="sans-serif">Here is the definition of the layer
in my mapFile</font>
<br><font size=2 face="Courier New">LAYER</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;NAME &nbsp; &nbsp; &nbsp;
&nbsp; pe</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;TYPE &nbsp; &nbsp; &nbsp;
&nbsp; RASTER</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;OFFSITE &nbsp; &nbsp;
&nbsp;0 0 0</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;STATUS &nbsp; &nbsp; &nbsp;
default</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;CONNECTIONTYPE WMS</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;CONNECTION &quot;http://atlas.gc.ca/cgi-bin/atlaswms_fr?&quot;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;DEBUG 5</font>
<br>
<br><font size=2 face="Courier New">&nbsp; &nbsp; METADATA</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &quot;wms_srs&quot;
&quot;EPSG:42304&quot;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &quot;wms_name&quot;
&quot;pe_15m&quot;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &quot;wms_server_version&quot;
&quot;1.1.1&quot;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; &nbsp; &quot;wms_format&quot;
&quot;image/gif&quot;</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; END</font>
<br><font size=2 face="Courier New">&nbsp; END # layer pe</font>
<br>
<br><font size=2 face="sans-serif">Here is the log</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].480000 HTTP:
Starting to prepare HTTP requests.</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].480000 HTTP
request: id=0, http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;FORMAT=image/gif&amp;STYLES=&amp;HEIGHT=300&amp;VERSION=1.1.1&amp;SRS=EPSG:42304&amp;WIDTH=400&amp;BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&amp;TRANSPARENT=TRUE&amp;EXCEPTIONS=application/vnd.ogc.se_inimage</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].496000 HTTP:
Before download loop</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].667000 HTTP:
After download loop</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].667000 msHTTPExecuteRequests()
timing summary per layer (connect_time + time_to_first_packet + download_time
= total_time in seconds)</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].667000 HTTP:
request failed with curl error code 6 () for http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;FORMAT=image/gif&amp;STYLES=&amp;HEIGHT=300&amp;VERSION=1.1.1&amp;SRS=EPSG:42304&amp;WIDTH=400&amp;BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&amp;TRANSPARENT=TRUE&amp;EXCEPTIONS=application/vnd.ogc.se_inimage[Wed
Oct 08 09:00:10 2008].667000 msHTTPExecuteRequests(): HTTP request error.
HTTP: request failed with curl error code 6 () for http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;FORMAT=image/gif&amp;STYLES=&amp;HEIGHT=300&amp;VERSION=1.1.1&amp;SRS=EPSG:42304&amp;WIDTH=400&amp;BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&amp;TRANSPARENT=TRUE&amp;EXCEPTIONS=application/vnd.ogc.se_inimage</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].667000 Layer
0: 0.000 + 0.000 + 0.000 = 0.000s</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].667000 msDrawWMSLayerLow():
WMS server error. WMS GetMap request failed for layer 'pe' (Status -6:
).</font>
<br><font size=2 face="sans-serif">[Wed Oct 08 09:00:10 2008].667000 msDrawMap():
Layer 0 (pe), 0.000s</font>
<br>
<br><font size=2 face="sans-serif">I get a blank image. But if I use the
connection string that is in the log file and send it directly from internet
explorer I get the image.</font>
<br><font size=2 face="sans-serif">http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;FORMAT=image/gif&amp;STYLES=&amp;HEIGHT=300&amp;VERSION=1.1.1&amp;SRS=EPSG:42304&amp;WIDTH=400&amp;BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&amp;TRANSPARENT=TRUE&amp;EXCEPTIONS=application/vnd.ogc.se_inimage</font>
<br>
<br>
<br><font size=2 face="sans-serif">I also tried with this layer definiton,
and I got the same error</font>
<br><font size=2 face="sans-serif">LAYER</font>
<br><font size=2 face="sans-serif">&nbsp; NAME &quot;prov_bound&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; TYPE RASTER</font>
<br><font size=2 face="sans-serif">&nbsp; STATUS ON</font>
<br><font size=2 face="sans-serif">&nbsp; CONNECTION &quot;http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; CONNECTIONTYPE WMS</font>
<br><font size=2 face="sans-serif">&nbsp; METADATA</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &quot;wms_srs&quot; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;EPSG:42304&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &quot;wms_name&quot; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;prov_bound&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &quot;wms_server_version&quot;
&nbsp;&quot;1.1.1&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &quot;wms_format&quot;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;image/gif&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; END</font>
<br><font size=2 face="sans-serif">END</font>
<br>
<br><font size=2 face="sans-serif">thanks for your help,</font>
<br><font size=2 face="sans-serif">Steve</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font><font size=3 color=#0066ff><i>Steve Toutant, M. Sc.</i></font><font size=3><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction des risques biologiques, environnementaux et occupationnels<br>
Institut national de santé publique du Québec<br>
945, avenue Wolfe<br>
Québec, Qc G1V 5B3 </font>
<p><font size=3>Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:steve.toutant@inspq.qc.ca><font size=3 color=blue><u>steve.toutant@inspq.qc.ca</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://www.inspq.qc.ca/><font size=3 color=blue><u>http://www.inspq.qc.ca</u></font></a>
<p><font size=3>&nbsp; </font>
<p>