[mapserver-users] Re: 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 07:33:08 PST 2010


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.



More information about the MapServer-users mailing list