Hi list,<br>is not the first time I'm writing about this problem but I didn't find a solution yet.<br>Actually I'm not able to add a wms layer on my mapfile.<br>The code is below.<br>When I try to load my map on kaMap no tile are generated and nothing happens.
<br>Can you try to load on your KaMap this mapfile to find a solution?<br>Where's the error in the mapfile?<br><br>Thanks a lot<br><br>matteo rossi<br><br><br>MAP<br> NAME "prova_modis_wms"<br> STATUS ON<br>
EXTENT -180 -90 180 90<br> SIZE 256 256<br> IMAGECOLOR 200 200 200<br> TRANSPARENT ON<br> UNITS dd<br> INTERLACE ON<br> <br> PROJECTION<br> "init=epsg:4326"<br> END<br> <br> IMAGETYPE png<br>
<br> OUTPUTFORMAT<br> NAME jpeg<br> DRIVER "GD/JPEG"<br> IMAGEMODE RGB<br> EXTENSION "jpeg"<br> FORMATOPTION "QUALITY=60,PROGRESSIVE=TRUE"<br> END<br><br><br>WEB<br> IMAGEPATH "/tmp"
<br> IMAGEURL "/tmp"<br> <br>END<br> <br> LEGEND<br> OUTLINECOLOR 0 0 0<br> STATUS on <br> KEYSIZE 40 10<br> KEYSPACING 20 15<br> TRANSPARENT on<br> END<br><br> SCALEBAR<br> STATUS ON
<br> IMAGECOLOR 255 255 255<br> COLOR 0 0 0<br> OUTLINECOLOR 0 0 0<br> LABEL<br> COLOR 0 0 0<br> SIZE tiny<br> END <br> UNITS KILOMETERS<br> STYLE 1<br> INTERVALS 5<br> TRANSPARENT ON<br> SIZE 249 15
<br> END<br><br> LAYER<br> GROUP "Immagini"<br> NAME "MODIS"<br> TYPE RASTER<br> STATUS ON <br> DEBUG ON<br> CONNECTION "<a href="http://wms.jpl.nasa.gov/wms.cgi?styles=&">
http://wms.jpl.nasa.gov/wms.cgi?styles=&</a>"<br> CONNECTIONTYPE WMS<br> <br> PROJECTION<br> "init=epsg:4326"<br> END<br> <br> METADATA<br> "wms_name" "modis"
<br> "wms_server_version" "1.1.0"<br> "wms_format" "image/jpeg"<br> "wms_srs" "EPSG:4326"<br> END <br> END <br> <br>
END<br><br>END<br><br><br>