[mapserver-users] Maperver upgrade 5.6 - 6.0 - OUTPUTFORMAT ?

tommaso tommasodb at googlemail.com
Thu Dec 8 23:18:16 PST 2011


Well, but I need antialiasing...With gif the lines are correctly
rendered, but not the icons. 
With Mapserver 5.6, format=png24, lines and icons are both rendered as
expected (see attachments).
My gif definition in mapfile:
   OUTPUTFORMAT
      NAME "gif"
      DRIVER GD/GIF
      MIMETYPE "image/gif"
      IMAGEMODE PC256
      EXTENSION "gif"
   END

Greetings Tommaso

On Thu, 2011-12-08 at 15:13 +0100, thomas bonfort wrote:

> antialiasing causes vertical and horizontal lines to appear blurred.
> switch to gif if you need aliased results.
> 
> --
> thomas
> 
> On Thu, Dec 8, 2011 at 14:58, tommaso <tommasodb at googlemail.com> wrote:
> > Hallo List,
> >
> > I'm trying to upgrade my app from Mapserver 5.6 to Mapserver 6.0.
> > The Problem is, that the same Mapfile produces two different maps with the
> > to Mapserver version. The map by mapserver 6.0 appears like "out of focus".
> > See the attachments for a example. I'm missing something regarding
> > OUTPUTFORMAT?
> > In the WMS Request I'm using  " format=png " or  " format=png24 ", with the
> > same result.
> > The mapfile is below.
> >
> > Greetings Tommaso
> >
> > MAP
> >     NAME test-map
> >     STATUS ON
> >     UNITS meters
> >     IMAGETYPE AGG
> >
> >     OUTPUTFORMAT
> >        NAME 'AGG'
> >        DRIVER AGG/PNG
> >        IMAGEMODE RGB
> >     END
> >
> >     PROJECTION
> >         "proj=utm"
> >         "zone=32"
> >         "ellps=WGS84"
> >         "datum=WGS84"
> >         "units=m"
> >         "no_defs"
> >         "towgs84=0,0,0"
> >     END
> >
> >     WEB
> >         IMAGEPATH "/tmp/mapserver"
> >         IMAGEURL "/tmp/mapserver"
> >         METADATA
> >             WMS_SRS "epgs:32632"
> >             ows_enable_request   "*"
> >         END
> >     END
> >
> >     LAYER
> >         NAME "stand_test"
> >         STATUS ON
> >         TYPE POLYGON
> >         INCLUDE "connection"
> >         DATA "geom from geo.stand_test  using UNIQUE id USING srid=32632"
> >         LABELITEM  "name"
> >         CLASS
> >             STYLE
> >                 #COLOR '#ffffff'
> >                 OUTLINECOLOR  '#000000'
> >             END
> >         END
> >     END
> >
> > END       ### END MAP #####
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111209/383163be/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv-5.6-icons.png
Type: image/png
Size: 3528 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111209/383163be/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv-6.0-icons.gif
Type: image/gif
Size: 2378 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111209/383163be/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv-6.0-icons.png
Type: image/png
Size: 4393 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111209/383163be/attachment-0001.png>


More information about the MapServer-users mailing list