[mapserver-users] Polygon Fill with text in MapServer 6.0.3 [SEC=UNCLASSIFIED]
thomas bonfort
thomas.bonfort at gmail.com
Thu Aug 2 00:22:57 PDT 2012
Hi,
Using multiple characters in trutype symbols was a grey area in
pre-6.0/5.6 versions of mapserver: it worked for some drivers (Gd) but
wasn't documented nor was it even really intended. I do not know of a
setting that would allow you to fill a polygon with text, aside from
creating a pixmap symbol where you've pre-rendered your text.
regards,
thomas
On Thu, Jul 26, 2012 at 5:59 AM, Kathleen Hirst <K.Hirst at bom.gov.au> wrote:
> Dear List,
>
> In MapServer 5.4.2, I had defined a symbol as follows:
>
> SYMBOL
> NAME "IDR68"
> TYPE TRUETYPE
> FONT "arial"
> CHARACTER "No data"
> GAP 2
> END
>
> and used it as a polygon fill for a layer
>
> CLASS
> STYLE
> SYMBOL "IDR68"
> COLOR 0 0 0
> OUTLINECOLOR 0 0 0
> SIZE 12
> END
> END
>
> In migrating to MapServer 6.0.3, I have done the following:
>
> SYMBOL
> NAME "IDR68"
> TYPE TRUETYPE
> FONT "arial"
> CHARACTER "No data"
> END
> and in the layer
>
> CLASS
> STYLE
> SYMBOL "IDR68"
> COLOR 0 0 0
> SIZE 12
> GAP 2
> END
> STYLE
> OUTLINECOLOR 0 0 0
> END
> END
>
> Instead of filling the polygon with "No data", I only get a fill with the
> first character ie "N".
> Is there a way to fill a polygon with text in MapServer 6.0??
>
> Thanks
>
> Kathleen
>
>
>
>
>
> _______________________________________________
> 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