[ka-Map-users] tiles desappears

Roberto Stecco roberto.stecco at gdconsulting.it
Fri Mar 31 05:17:30 EST 2006


hi all,
I have a problem with a raster image in ECW format.
when I try to load it in ka-map (cvs version 2006-03-30 - MS4W 1.4.0) 
and to create a legend with group (in map file), at first some tiles 
appear, but soon are replaced by empty tiles.
my map file is something like this....
------------------------------------------------------------------------
#
# Start of map file
#
# cm25.map, 2006/03/27 16:59:25 roberto
#

MAP
    NAME CM25
    STATUS ON
    SIZE 400 300
    SYMBOLSET ../../etc/symbols.sym
    EXTENT 1537322 5088486 1546477 5094212 #extent CM25
    # EXTENT 1542995 5104917 1544880 5106995 #extent CM25
    UNITS METERS
    SHAPEPATH "../../data/bema"
    IMAGECOLOR 255 255 255
    FONTSET ../../etc/fonts.txt

OUTPUTFORMAT
    NAME jpeg
    DRIVER "GD/JPEG"
    MIMETYPE "image/jpeg"
    IMAGEMODE RGB
    EXTENSION "jpg"
END
    IMAGETYPE jpeg

#
# Start of web interface definition
#

WEB
    MINSCALE 500
    MAXSCALE 30000
    IMAGEPATH "/ms4w/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
    #  LOG "/tmp/map.log"
END

#
# Start of reference map
#

REFERENCE
    IMAGE ../images/Overview.png
    EXTENT 1537322 5088486 1546477 5094212 # raster prova
    #   EXTENT 1542995 5104917 1544880 5106995
    STATUS ON
    COLOR -1 -1 -1
    OUTLINECOLOR 255 0 0
    SIZE 150 120     
END

#
# Start of legend
#

LEGEND
    KEYSIZE 18 12
    LABEL
        TYPE BITMAP
        SIZE MEDIUM
        COLOR 0 0 89
    END
    TEMPLATE "template/legenda.html"
    STATUS ON
END

#
# Start of scalebar
#

SCALEBAR
    IMAGECOLOR 255 255 255
    LABEL
        COLOR 0 0 0
        SIZE SMALL
    END
    SIZE 150 5
    COLOR 255 255 255
    BACKGROUNDCOLOR 0 0 0
    OUTLINECOLOR 0 0 0
    UNITS meters
    INTERVALS 5
    STATUS ON
END

QUERYMAP
  STYLE HILITE
  COLOR 255 0 0
END

#
# Start of layer definitions
#

LAYER
    NAME provaRaster
    #GROUP "raster"
    METADATA
        "DESCRIPTION" "Raster"
    END
    TYPE raster
    STATUS ON
    DATA valtellina.ecw
   
    MINSCALE 2000
    MAXSCALE 10000
   
    CLASS
        NAME "Raster"
        COLOR 120 120 120
    END   
   
END  # Layer           

...............................

if I uncomment GROUP "raster", nothing is loaded.
Any comment or suggestion?

regards,
roberto

-- 
+---------------------------------------------------------------+
| Roberto Stecco                                                |
+                                                               +
| GD Consulting - Via della Giustizia, 10 - 20125 Milano (MI)   |
+ Tel: 02/6710.1331, Fax: 02/6707.8798                          +
| E-Mail: roberto.stecco at gdconsulting.it                        |
+---------------------------------------------------------------+
-- 							     




More information about the ka-Map-users mailing list