[mapserver-users] AGG_Q + raster problem

Brent Fraser bfraser at geoanalytic.com
Mon Feb 18 09:16:42 PST 2008


Hans,

  GIF supports only 256 colors.  Use PNG (or JPG) for an output format.

Brent Fraser

> Hi to all,
>
>
>
> I’m trying to publish a cartography using both vectorial and raster
> layers.
> I’m using mapserver 5 and agg_q as output format. There is no problem
> about
> vectorial files (shapefiles): all work fine.
>
> The only problem I’m having is trying to publish some raster stuff: an
> aerial photo (.geotiff) and a digital terrain model (.ecw). I’m not
> capable
> to make the output showing real colours; there is an example attached to
> this mail (an aerial photo).
>
>
>
> My mapfile looks in this way:
>
>
>
> LAYER
>         NAME "MDT"
>         STATUS DEFAULT
>         GROUP "MDT"
>         TYPE raster
>         DATA "mdt.tif"
>         CLASS
>                MINSCALE 15000
>         END
> END
>
> LAYER
>         NAME "ORTOFOTO"
>         STATUS DEFAULT
>         GROUP "ORTOFOTO"
>         TYPE raster
>         DATA "ortofoto.ecw"
>         CLASS
>                MAXSCALE 15000
>         END
> END
>
>
>
> What I have to do to solve this?
>
>
>
> Thanks in advance to everyone.
>
>
>
>
>
> Hans Castorp





More information about the MapServer-users mailing list