[mapserver-users] Problems with AGG rendering

Sharon Carter carter.sharon017 at gmail.com
Tue Oct 26 17:15:39 EDT 2010


Thanks for the answer Thomas.

I changed the definition per your suggestion, the map file is much cleaner
now. But, we are still getting the same result with the rendering. In GD is
working fine but in Agg the same weird colored areas keep showing up.

--sharon

2010/10/26 thomas bonfort <thomas.bonfort at gmail.com>

> Rendering thick lines is done without symbols with agg (and GD with
> recent versions of mapserver to, I believe)
>
> for an outlined line, you use:
>
> CLASS
>  STYLE
>   COLOR outlinecolor
>   WIDTH 5
>  END
>  STYLE
>   COLOR fillcolor
>   WIDTH 3   #width of the first style minus 2 times the desired outline
> width
>  END
> END
>
> regards,
> thomas
>
> On Mon, Oct 25, 2010 at 19:21, Sharon Carter <carter.sharon017 at gmail.com>
> wrote:
> > Hello,
> >
> > We have been working with mapserver for a while and now we are updating
> our
> > map. We decided to give AGG a try for this new version but we have been
> > having some troubles setting it up to work properly.
> >
> > When we moved from GD to AGG the map starting showing areas with
> different
> > colors than the ones specified in the map file.
> >
> > Here we have an image with the rendering with GD
> > http://67.23.24.210/mapserver/gd.png
> >
> > And one with AGG  http://67.23.24.210/mapserver/agg.png
> >
> >
> > The output format for AGG we are using is
> >
> > OUTPUTFORMAT
> >     NAME  'PNG'
> >     DRIVER AGG/PNG
> >     IMAGEMODE RGBA
> >     MIMETYPE "image/png;mode=24bit"
> >     FORMATOPTION "FORMAT=image/png"
> > END
> >
> >
> > The street lines are painted using a symbol to create the outline for the
> > streets.
> >
> > Any ideas what could be causing this?
> >
> > Thanks
> >
> > Sharon
> >
> > _______________________________________________
> > 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/20101026/ade58f83/attachment.html


More information about the mapserver-users mailing list