[mapserver-users] Blank image result after the call http://localhost/mapserver/mapserv.exe?map=ecw.map&mode=map

Kiks enrico.oemi at gmail.com
Fri Feb 19 03:59:13 EST 2010


Hi, I'm new to Mapserver, and I'm next to view my first raster image in the
browser, but I still have some problems: 

My MapServer runs under IIS: I've installed the tool version (FWTools2.4.6)
and it seems to be ok. 

>From the browser I try this, but the response is a blank page. 
http://localhost/mapserver/mapserv.exe?map=ecw.map&mode=map

This is the content of my mapfile (ecw.map): 

MAP 
   NAME Ortofoto 
   STATUS ON 
   SIZE 602 589 
   EXTENT   1546119.5 4943633.5  1552879.5 4950247.5 
   UNITS METERS 
   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:3003" 
   END 
   LAYER 
        NAME "ecw" 
        TYPE RASTER 
        STATUS ON 
        TRANSFORM FALSE 
        DATA "c:\tematismi\197120.ecw" 
        EXTENT   1546119.5 4943633.5  1552879.5 4950247.5 
        PROJECTION 
          "init=epsg:3003" 
        END 
   END # Layer 
END # Map File 


if I ask for capabilities 

http://localhost/mapserver/mapserv.exe?map=ecw.map&SERVICE=WMS&REQUEST=GetCapabilities

the response is this: 

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 EPSG:3003 9.58154 9.66746 44.6433 44.7033 ecw ecw EPSG:3003 9.58154
9.66746 44.6433 44.7033 

The problem is that I don't know how to debug and understand where I'm
wrong. 
The extents of the ecw file is correct, I don't know about the projection,
but I think there is non reason to make conversion of any type. 

Thanks to everyone that has any suggestion. 

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-tp4596732p4596732.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list