[mapserver-users] Problems with AGG rendering

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Oct 26 18:20:50 EDT 2010


Can you post more of your mapfile including the AGG output format? Are your sample images from a single map draw or were they build from a number of tiles?

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Sharon Carter
Sent: Tuesday, October 26, 2010 4:16 PM
To: thomas bonfort
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Problems with AGG rendering

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<mailto: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<mailto: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<mailto: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/0e73b5c6/attachment-0001.html


More information about the mapserver-users mailing list