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: [email protected] 
[mailto:[email protected]] On Behalf Of Sharon Carter
Sent: Tuesday, October 26, 2010 4:16 PM
To: thomas bonfort
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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
> [email protected]<mailto:[email protected]>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to