<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"> NAME
pe</font>
<br><font size=2 face="Courier New"> TYPE
RASTER</font>
<br><font size=2 face="Courier New"> OFFSITE
0 0 0</font>
<br><font size=2 face="Courier New"> STATUS
default</font>
<br><font size=2 face="Courier New"> CONNECTIONTYPE WMS</font>
<br><font size=2 face="Courier New"> CONNECTION "http://atlas.gc.ca/cgi-bin/atlaswms_fr?"</font>
<br><font size=2 face="Courier New"> DEBUG 5</font>
<br>
<br><font size=2 face="Courier New"> METADATA</font>
<br><font size=2 face="Courier New"> "wms_srs"
"EPSG:42304"</font>
<br><font size=2 face="Courier New"> "wms_name"
"pe_15m"</font>
<br><font size=2 face="Courier New"> "wms_server_version"
"1.1.1"</font>
<br><font size=2 face="Courier New"> "wms_format"
"image/gif"</font>
<br><font size=2 face="Courier New"> END</font>
<br><font size=2 face="Courier New"> 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&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&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&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&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&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&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&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=689899.721196215,-333292.3983286,2867511.32395514,2047197.11324934&TRANSPARENT=TRUE&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"> NAME "prov_bound"</font>
<br><font size=2 face="sans-serif"> TYPE RASTER</font>
<br><font size=2 face="sans-serif"> STATUS ON</font>
<br><font size=2 face="sans-serif"> CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?"</font>
<br><font size=2 face="sans-serif"> CONNECTIONTYPE WMS</font>
<br><font size=2 face="sans-serif"> METADATA</font>
<br><font size=2 face="sans-serif"> "wms_srs"
"EPSG:42304"</font>
<br><font size=2 face="sans-serif"> "wms_name"
"prov_bound"</font>
<br><font size=2 face="sans-serif"> "wms_server_version"
"1.1.1"</font>
<br><font size=2 face="sans-serif"> "wms_format"
"image/gif"</font>
<br><font size=2 face="sans-serif"> 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> </font>
<p>