[mapserver-users] Poor quality in raster images
Heraldo Rodríguez
hrodriguez at siscat.com.ar
Mon Aug 10 08:22:18 PDT 2009
Hi everyone,
This is the first time I make use of raster layers.
Everything works fine but the raster layer is rendered very poorly ( I mean , I visualise the image with an external program at the same scale and the image looks smooth , but with mapserver I only see some dots here an there )
The image is a geotiff image ( black and white)
I tried using different processing directives PROCESSING "RESAMPLE=BILINEAR" PROCESSING "DITHER=YES" PROCESSING "SCALE=AUTO" without any luck.
These are some fragments of my mapfile
OUTPUTFORMAT
NAME AGG
DRIVER AGG/PNG
IMAGEMODE RGB
extension "png"
mimetype "image/png"
FORMATOPTION "INTERLACE=OFF"
END
LAYER
PROCESSING "RESAMPLE=BILINEAR"
PROCESSING "DITHER=YES"
PROCESSING "SCALE=AUTO"
NAME "test"
DATA "bsas1867norte.tif"
TYPE RASTER
STATUS default
END
I am using mapserver 5.4.1 tilecache and postgis
Mapserver compilation options :
./configure --with-postgis=/usr/bin/pg_config --enable-debug --with-threads --without-pdf --without-tiff --with-gdal=/usr/bin/gdal-config --with-ogr=/usr/bin/gdal-config --with-freetype=/usr/bin --with-png=/usr/bin --with-libiconv=/usr/local/bin/iconv --without-xpm --with-zlib=/usr --without-eppl --with-agg=/usr/local/src/agg-2.4 --without-mygis --with-gd=/usr --with-curl-config=/usr/bin/curl-config --with-wms --with-wfs --with-proj=/usr
What can I do to make raster layers look better ( performance is not an issue since I am using tilecache )
Thanks in advance. Regards.
Lic. Heraldo G. Rodriguez
hrodriguez at siscat.com.ar <mailto:hrodriguez at siscat.com.ar>
TEL: 54-11-4326-4002 int 255
Dpto. Desarrollo
Sistemas Catastrales S.A
________________________________
De: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de YOUNESS ELMEDRAOUI
Enviado el: lunes, 10 de agosto de 2009 11:13
Para: mapserver-users at lists.osgeo.org
Asunto: [mapserver-users] tooltip openlayers /wms
Hi,
plz, how can i create a tooltips with openlayers / wms layers?
thnks
best regards,
Youness ELMEDRAOUI
Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090810/c24ea67d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1283 bytes
Desc: image002.jpg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090810/c24ea67d/attachment.jpg>
More information about the MapServer-users
mailing list