[Mapserver-users] Strange result with WMS layer
Fortin,Nicolas [SteFoy]
nicolas.fortin at ec.gc.ca
Wed Mar 17 11:26:12 PST 2004
And if I try with shp2img, I got the right image with this message:
GDAL: GDALOpen(C:\Inetpub\wwwroot\tmp\1234567890.img.tmp) succeeds as PNG.
GDAL: GDALClose(C:\Inetpub\wwwroot\tmp\1234567890.img.tmp)
GDAL: GDALDeregistered_GTiff() called.
Any idea??
Thx,
Nicolas
-----Message d'origine-----
De : Fortin,Nicolas [SteFoy]
Envoyé : Wednesday, March 17, 2004 11:28 AM
À : Mapserver User List
Objet : [Mapserver-users] Strange result with WMS layer
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>
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list