[mapserver-dev] GD, filled ellipse,rendering: fill is bleeding outside the outline

Havard Tveite havard.tveite at umb.no
Mon Sep 21 10:51:34 EDT 2009


Sounds reasonable to assume that this is a GD bug.
My Mapserver is using GD version 2.0.35, which should
be the latest one.

Håvard

Steve Lime wrote:
> It's a GD bug I imagine. Have you tried the latest version of that lib?
> 
> Steve
> 
>>>> Havard Tveite <havard.tveite at umb.no> 09/21/09 4:14 AM >>>
> When using GD, the fill of an outlined filled ellipse symbol
> will "bleed" by one pixel several places outside of the
> outline for most symbol sizes (Mapserver 5.4.2).  See the
> attached (magnified) image.
> (AGG does not seem to have this problem)
> 
> This seems to be a bug.  Has it been filed yet?
> 
> Here are the most relevant parts of the map file:
> 
>    SYMBOL
>      NAME "circle"
>      TYPE ellipse
>      FILLED true
>      POINTS
>        1 1
>      END
>    END
> 
> ...
> 
>    LAYER    # Circle - outline
>      NAME "circ"
>      PROJECTION
>        "init=epsg:32633"
>      END
>      TYPE POINT
>      FEATURE
>        POINTS
>          50 800
>        END
>      END
>      CLASS
>        NAME "Circle"
>        STYLE
>          SYMBOL 'circle'
>          SIZE 42
>          COLOR 0 150 200
>          OUTLINECOLOR 0 0 0
>        END
>      END
>    END #layer circle - outline


More information about the mapserver-dev mailing list