[ka-Map-users] tiles desappears
Roberto Stecco
roberto.stecco at gdconsulting.it
Fri Mar 31 08:09:13 EST 2006
-------- Messaggio Originale --------
Oggetto: Re: [ka-Map-users] tiles desappears
Data: Fri, 31 Mar 2006 14:54:58 +0200
Da: Roberto Stecco <roberto.stecco at gdconsulting.it>
A: Andrea Cappugi <kappu72 at gmail.com>
Referenze: <442D01BA.6030000 at gdconsulting.it>
<c739a5eb0603310233t2282242dxeec4f3fbda635d1d at mail.gmail.com>
Andrea Cappugi ha scritto:
> Hi Roberto,
> first check if your map file is ok running shp2img.
> By
> Andrea
> 2006/3/31, Roberto Stecco < roberto.stecco at gdconsulting.it
> <mailto: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
> <mailto:roberto.stecco at gdconsulting.it> |
> +---------------------------------------------------------------+
> --
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> <mailto:ka-Map-users at lists.maptools.org>
> http://lists.maptools.org/mailman/listinfo/ka-map-users
> <http://lists.maptools.org/mailman/listinfo/ka-map-users>
>
>
hi andrea,
my map file seems ok! with shp2img, it produces a regular image.
also without the raster image I have the same problem with other layers
(.shp)
I do not understand....
--
+---------------------------------------------------------------+
| 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 |
+---------------------------------------------------------------+
--
--
+---------------------------------------------------------------+
| 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