Hi Roberto, <br>first check if your map file is ok running shp2img.<br>By <br>Andrea<br><div><span class="gmail_quote">2006/3/31, Roberto Stecco <<a href="mailto:roberto.stecco@gdconsulting.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
roberto.stecco@gdconsulting.it</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi all,<br>I have a problem with a raster image in ECW format.<br>when I try to load it in ka-map (cvs version 2006-03-30 - MS4W 1.4.0)<br>and to create a legend with group (in map file), at first some tiles<br>appear, but soon are replaced by empty tiles.
<br>my map file is something like this....<br>------------------------------------------------------------------------<br>#<br># Start of map file<br>#<br># cm25.map, 2006/03/27 16:59:25 roberto<br>#<br><br>MAP<br> NAME CM25
<br> STATUS ON<br> SIZE 400 300<br> SYMBOLSET ../../etc/symbols.sym<br> EXTENT 1537322 5088486 1546477 5094212 #extent CM25<br> # EXTENT 1542995 5104917 1544880 5106995 #extent CM25<br> UNITS METERS<br>
SHAPEPATH "../../data/bema"
<br> IMAGECOLOR 255 255 255<br> FONTSET ../../etc/fonts.txt<br><br>OUTPUTFORMAT<br> NAME jpeg<br> DRIVER "GD/JPEG"<br> MIMETYPE "image/jpeg"<br> IMAGEMODE RGB<br> EXTENSION "jpg"
<br>END<br> IMAGETYPE jpeg<br><br>#<br># Start of web interface definition<br>#<br><br>WEB<br> MINSCALE 500<br> MAXSCALE 30000<br> IMAGEPATH "/ms4w/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br>
# LOG "/tmp/map.log"<br>END<br><br>#<br># Start of reference map<br>#<br><br>REFERENCE<br> IMAGE ../images/Overview.png<br> EXTENT 1537322 5088486 1546477 5094212 # raster prova<br> # EXTENT 1542995 5104917 1544880 5106995
<br> STATUS ON<br> COLOR -1 -1 -1<br> OUTLINECOLOR 255 0 0<br> SIZE 150 120<br>END<br><br>#<br># Start of legend<br>#<br><br>LEGEND<br> KEYSIZE 18 12<br> LABEL<br> TYPE BITMAP<br> SIZE MEDIUM
<br> COLOR 0 0 89<br> END<br> TEMPLATE "template/legenda.html"<br> STATUS ON<br>END<br><br>#<br># Start of scalebar<br>#<br><br>SCALEBAR<br> IMAGECOLOR 255 255 255<br> LABEL<br> COLOR 0 0 0
<br> SIZE SMALL<br> END<br> SIZE 150 5<br> COLOR 255 255 255<br> BACKGROUNDCOLOR 0 0 0<br> OUTLINECOLOR 0 0 0<br> UNITS meters<br> INTERVALS 5<br> STATUS ON<br>END<br><br>QUERYMAP<br> STYLE HILITE
<br> COLOR 255 0 0<br>END<br><br>#<br># Start of layer definitions<br>#<br><br>LAYER<br> NAME provaRaster<br> #GROUP "raster"<br> METADATA<br> "DESCRIPTION" "Raster"<br> END
<br> TYPE raster<br> STATUS ON<br> DATA valtellina.ecw<br><br> MINSCALE 2000<br> MAXSCALE 10000<br><br> CLASS<br> NAME "Raster"<br> COLOR 120 120 120<br> END<br><br>END # Layer
<br><br>...............................<br><br>if I uncomment GROUP "raster", nothing is loaded.<br>Any comment or suggestion?<br><br>regards,<br>roberto<br><br>--<br>+---------------------------------------------------------------+
<br>| Roberto Stecco |<br>+ +<br>| GD Consulting - Via della Giustizia, 10 - 20125 Milano (MI) |<br>+ Tel: 02/6710.1331, Fax: 02/6707.8798 +
<br>| E-Mail: <a href="mailto:roberto.stecco@gdconsulting.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">roberto.stecco@gdconsulting.it</a> |<br>+---------------------------------------------------------------+
<br>--<br><br><br>_______________________________________________
<br>ka-Map-users mailing list<br><a href="mailto:ka-Map-users@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ka-Map-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.maptools.org/mailman/listinfo/ka-map-users
</a><br></blockquote></div><br>