I logged a bug regarding the issue with PNGs. Oddly enough, when I switch it
to GIF it appears to work normally for me, so I'm not sure what's happening
in your case.
http://trac.osgeo.org/mapserver/ticket/4013
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/label-problem
We need to create 8-bit PNG images in MS 6.0 that have one single colour
(white) designated as transparent with all other colours as 100% opaque.
Using the GD driver with PC256 works well with vectors but not with fonts
(see
http://osgeo-org.1803224.n2.nabble.com/Font-rendering-in-MapServer-6-0-td6
I had the same problem using PC256 with the GD driver, which sounds like it
isn't well supported. I was using PNG's, so switching to the AGG driver was
an option (with new challenges, as I'm about to post...) but it doesn't
sound like it is with GIF's.
Here's the post I had earlier regarding this
The GetMap request was using:
format=image/png
...instead of
format=image/png; mode=8bit
Now I'm getting paletted 8-bit images instead of 24-bit RGB's.
Thomas Bonfort wrote:
>
> I suspect it's the copying from Firefox, your outputformat is correct (and
> superfluous, the built-in png8 image
I'm trying to get MapServer 6.0.1 to generate 8-bit (paletted) PNGs for the
WMS output images, with colour 255 set as transparent. However every attempt
appears to result in 24-bit PNGs.
My mapfile looks something like this:
MAP
..
IMAGETYPE PNG8
IMAGECOLOR 255 255 255
..
OUTPUTFORMAT
thomas bonfort wrote:
>
> We've kept the GD renderer in 6.0 for some marginal use cases, but the
> preferred way is to switch to AGG rendering (which is compiled in by
> default): you can use the builtin png8 imagetype (mimetype: image/png;
> mode=8bit) which does a quantization step if you need
I've narrowed it down further to the OUTPUTFORMAT section of the mapfile,
which currently is:
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE PC256
FORMATOPTION "INTERLACE=OFF"
EXTENSION png
TRANSPARENT ON
END
It appears to be a problem with ha
I mistakenly had DEFRESOLUTION 72 instead of DEFRESOLUTION 96 in my test
mapfile. This fixes the text/symbol size problem. However, the font quality
is still an issue in 6.0
http://osgeo-org.1803224.n2.nabble.com/file/n6556130/wms_6_0.png
--
View this message in context:
http://osgeo-org.180322
mark volz-2 wrote:
>
> I set up a WMS Server using Mapserver. The quality of the map is
> terrible. If anyone an example of a mapfile to serve imagery via wms it
> would be appreciated.
>
I found the playing around with the PROCESSING values can make a big
difference.
http://mapserver.org/i
We're in the process of upgrading from MapServer 5.4 to 6.0 and, after
following the migration guide from 5.4->5.6->6.0, almost everything is
working fine. The one exception is truetype font rendering. Text in 6.0
doesn't render well - it's blocky and distorted. Has anyone encountered this
change i
10 matches
Mail list logo