[mapserver-users] Problems with AGG rendering

thomas bonfort thomas.bonfort at gmail.com
Tue Oct 26 01:17:05 PDT 2010


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
>
>



More information about the MapServer-users mailing list