[mapserver-users] Polygon Fill with text in MapServer 6.0.3 [SEC=UNCLASSIFIED]

Kathleen Hirst K.Hirst at bom.gov.au
Wed Jul 25 20:59:50 PDT 2012


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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120726/ffa62842/attachment-0001.html>


More information about the mapserver-users mailing list