[mapserver-users] Re: Blank image result after the call http://localhost/mapserver/mapserv.exe?map=ecw.mapmode=map
Hi folks, thanks for the quick replies you have posted! I tried to change the STATUS to DEFAULT and I removed the projection information. Now I can see the image created with the shp2img utility, and also with the ALL_DEBUG option it seems to be all right! But I still can't get an image in the browser with these calls: http://localhost/mapserver/mapserv.exe?map=ecw.mapmode=maplayers=all http://localhost/mapserver/mapserv.exe?map=ecw.mapmode=map And when I call this: http://localhost/mapserver/mapserv.exe?map=ecw.mapSERVICE=WMSREQUEST=GetCapabilities the reply is like before: WMS Ortofoto 2048 2048 text/xml image/jpeg image/gif image/png image/png; mode=24bit image/vnd.wap.wbmp image/tiff image/svg+xml text/plain application/vnd.ogc.gml text/xml image/jpeg image/gif image/png image/png; mode=24bit image/vnd.wap.wbmp text/xml XML INIMAGE BLANK Ortofoto Ortofoto Ortofoto 1.54612e+006 1.55288e+006 4.94363e+006 4.95025e+006 ecw ecw 1.54612e+006 1.55288e+006 4.94408e+006 4.9498e+006 and if I add VERSION=1.1.1, or if I try the GetMap with all the parameters needed (BBOX, etc.) the browser (IE 8 and Chrome) ask me to download the mapserv.exe ! Any other suggestion to debug the WMS service? Thanks a lot, Kiks -- View this message in context: http://n2.nabble.com/Blank-image-result-after-the-call-http-localhost-mapserver-mapserv-exe-map-ecw-map-mode-map-tp4596732p4597157.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: Blank image result after the call http://localhost/mapserver/mapserv.exe?map=ecw.mapmode=map
Kiks wrote: and if I add VERSION=1.1.1, or if I try the GetMap with all the parameters needed (BBOX, etc.) the browser (IE 8 and Chrome) ask me to download the mapserv.exe ! It is not mapserv.exe. Browser just does not understand the MIME type. Save it on a disk and open it with text editor, it may give you some information. And don't hurry, your configuration is for sure not ready for WMS. Make it work with browser calls firs, read the manual and continue. http://www.mapserver.org/ogc/wms_server.html -Jukka- ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: Blank image result after the call http://localhost/mapserver/mapserv.exe?map=ecw.mapmode=map
Adjusting the MIME types I find the problem and I managed to make a WMS call to my raster maps, and I make an shp index for my tiles, too! Thanks a lot. I still have one other little problem that I can't solve... In the WMS call, if I put height and width approssimativly major than 550 pixel, the jpeg file seems to be corrupted. The MAXSIZE = 2048 has not resolved the problem. Any Ideas? Kiks This is my new filemap: MAP NAME Ortofoto # CONFIG MS_ERRORFILE stdout # DEBUG 3 CONFIG ON_MISSING_DATA IGNORE MAXSIZE 2048 UNITS METERS EXTENT 1533000 4450600 2668880 4961480 OUTPUTFORMAT NAME jpeg DRIVER GD/JPEG MIMETYPE image/jpeg IMAGEMODE RGB EXTENSION jpg END CONFIG PROJ_LIB C:\Programmi\FWTools2.4.6\proj_lib PROJECTION init=epsg:4326 END LAYER NAME orto TYPE RASTER STATUS DEFAULT # TRANSFORM FALSE # DATA c:\tematismi\ortofoto\197120.ecw TILEINDEX Ortofoto.shp TILEITEM Location END # Layer END # Map File -- View this message in context: http://n2.nabble.com/Blank-image-result-after-the-call-http-localhost-mapserver-mapserv-exe-map-ecw-map-mode-map-tp4596732p4598441.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: Blank image result after the call http://localhost/mapserver/mapserv.exe?map=ecw.mapmode=map
I resolved the problem. I was using FWtools2.4.6 (MapServer 5.6.0 Beta4), that hadn't enabled the AGG Rendering driver. I tried to switch to MS4W 5.2.1, and change the OUTPUTFORMAT in mapfile to this: OUTPUTFORMAT NAME 'AGG' DRIVER AGG/PNG IMAGEMODE RGB END Now it works fine. Kiks -- View this message in context: http://n2.nabble.com/Blank-image-result-after-the-call-http-localhost-mapserver-mapserv-exe-map-ecw-map-mode-map-tp4596732p4598561.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users