Put the url in double quotes, i.e.:
> curl.exe
> "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:4326&WIDTH=400&BBOX=-80.9516220735786,44.92,-57.1183779264214,62.78&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_xml
When I try this, I get a valid GIF image back.
..Tom
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL
PROTECTED]
Sent: 20 October, 2008 1:33 PM
To: Brent Fraser
Cc: [email protected]
Subject: Re: [mapserver-users] WMS don't load
Are you familiar with curl? I don't what is it and whait it is supposed
to return.
I downloaded curl.exe anyway but I need help. What is the url I should
send?
I tried
curl.exe
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:4326&WIDTH=400&BBOX=-80.9516220735786,44.92,-57.1183779264214,62.78&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage
But I just get a bunch of error
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 5.0.2-AoC OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP O
UTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPO
RTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR
INPUT=GDA
L INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF"
onload="parent.window.ctl.displayErrorMessage();">
mapserv(): Web application error. Traditional BROWSE mode requires a
TEMPLATE in
the WEB section, but none was provided.
</BODY></HTML>'REQUEST' is not recognized as an internal or external
command,
operable program or batch file.
'SERVICE' is not recognized as an internal or external command,
operable program or batch file.
Invalid parameter - /gif
'STYLES' is not recognized as an internal or external command,
operable program or batch file.
'HEIGHT' is not recognized as an internal or external command,
operable program or batch file.
'VERSION' is not recognized as an internal or external command,
operable program or batch file.
'SRS' is not recognized as an internal or external command,
operable program or batch file.
'WIDTH' is not recognized as an internal or external command,
operable program or batch file.
'BBOX' is not recognized as an internal or external command,
operable program or batch file.
'TRANSPARENT' is not recognized as an internal or external command,
operable program or batch file.
'EXCEPTIONS' is not recognized as an internal or external command,
operable program or batch file.
Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.inspq.qc.ca <http://www.inspq.qc.ca/>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users