[mapserver-users] Re: Problem with raster image

Andres Juarez albertoandres.juarez at gmail.com
Wed Aug 12 08:12:58 EDT 2009


A mi me funciona con la configuración que tienes en tu .map, solo cambia en

OUTPUTFORMAT
   #IMAGEMODE PC256

por

    IMAGEMODE RGBA

creo que con eso funciona



2009/8/12 <mapserver-users-request at lists.osgeo.org>

> Send mapserver-users mailing list submissions to
>        mapserver-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.osgeo.org/mailman/listinfo/mapserver-users
> or, via email, send a message with subject or body 'help' to
>        mapserver-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
>        mapserver-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mapserver-users digest..."
>
> Today's Topics:
>
>   1. Problem with raster image (Valeria Mu?oz)
>
>
> ---------- Mensaje reenviado ----------
> From: "Valeria Muñoz" <valemunoz at gmail.com>
> To: mapserver-users <mapserver-users at lists.osgeo.org>
> Date: Tue, 11 Aug 2009 17:37:19 -0400
> Subject: [mapserver-users] Problem with raster image
> HI
>
>    i resolved my problem(mail before) ... now the quality of the image is
> bad... please watch the attached image... what can i do to better the output
> image?
>
> mapfile
>
> MAP
>   NAME satelite
>   SIZE 600 400
>   UNITS dd
>   EXTENT -70.524941 -33.366110 -70.500813 -33.346131
>   IMAGECOLOR 192 192 192
>   IMAGEQUALITY 95
>   IMAGETYPE png
>   OUTPUTFORMAT
>     NAME png
>     DRIVER 'GD/PNG'
>     MIMETYPE 'image/png'
>     #IMAGEMODE PC256
>     EXTENSION 'png'
>   END
>   WEB
>     IMAGEPATH '/tmp/'
>     IMAGEURL '/tmp/'
>     METADATA
>       'wms_title'           'satelite'
>       'wms_onlineresource'  '
> http://my.host.com/cgi-bin/mapserv?map=wms.map&'
>       'wms_srs'             'EPSG:4326'
>     END
>   END
>   LAYER
>     NAME '1_Mapa
>     TYPE RASTER
>     DATA 'data\Mapa.tif'
>     METADATA
>       'wms_title' '1_Mapa'
>     END
>     STATUS DEFAULT
>     TRANSPARENCY 100
>   END
> END
>
> RG
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


-- 
Andrés Juarez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090812/ae0d4bbd/attachment.html


More information about the mapserver-users mailing list