[Mapserver-users] Strange result with WMS layer
Fortin,Nicolas [SteFoy]
nicolas.fortin at ec.gc.ca
Wed Mar 17 08:28:26 PST 2004
Hi list,
I made a simple viewer to see the layers of one of my mapfile. Some of these layers are valid WMS layers. When I want to see one of these layers, the result is the html in ascii with this at the begining:
GDAL: GDALClose(C:/Inetpub/wwwroot/tmp/107954018813960.img.tmp)
Content-type: text/html
If I browse the html file I can find the path to the result image and I can go in that directory and see the result, which is perfect.
How can I make this works and why these two lines appear?
Here's some part of my mapfile:
NAME CYBER01
EXTENT 7630000 1310000 7680000 1360000SIZE 425 425
SYMBOLSET 'C:\Inetpub\wwwroot\mapserv\symbols\symbols35.sym'
# Also tried init=EPSG:4326
PROJECTION
"proj=lcc"
"ellps=GRS80"
"lat_0=63"
"lon_0=-91.8666"
"lat_1=49"
"lat_2=77"
"x_0=6200000"
"y_0=2958000"
"datum=NAD83"
"units=m"
END
# WMS Layer
LAYER
NAME "4"
METADATA
"wms_title" "Municipality"
"wms_srs" "EPSG:4326 EPSG:54008"
"wms_name" "1"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
END
TYPE RASTER
STATUS OFF
CONNECTIONTYPE WMS
CONNECTION "http://***/ogcwms/servlet/com.esri.ogc.wms.WMSServlet?SERVICENAME=mh1996video" #ArcIMS WMS
PROJECTION
"init=epsg:4326"
END
END
I use Win2k and IIS
Thx,
Nicolas Fortin
Mathématicien, Programmeur, Analyste de données
SMC-Québec Hydrologie, Environnement Canada
1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5
(418)648-2516
nicolas.fortin at ec.gc.ca <mailto:nicolas.fortin at ec.gc.ca>
More information about the MapServer-users
mailing list