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

Havard Tveite havard.tveite at umb.no
Mon Sep 21 04:48:36 EDT 2009


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


-- 
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bleeding.png
Type: image/png
Size: 2498 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20090921/b05e0940/bleeding.png


More information about the mapserver-dev mailing list