[ka-Map-users] tiles desappears

Andrea Cappugi kappu72 at gmail.com
Fri Mar 31 05:33:02 EST 2006


Hi Roberto,
first  check if your map file is ok running shp2img.
By
Andrea
2006/3/31, Roberto Stecco <roberto.stecco at gdconsulting.it>:
>
> 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                        |
> +---------------------------------------------------------------+
> --
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20060331/8c80a41a/attachment.html


More information about the ka-Map-users mailing list