different sizes for same object

Thomas Preuth thomas.preuth at CCGIS.DE
Wed Aug 25 02:17:02 PDT 2004


  Hello userlist,

the problem: I use a .ttf -font to display a special item. This Item
must be displayed in different sizes.
Though I do not want to create several different font  styles nor i do
not want to desribe several classes in a mapfile, is it possible to
connect the SIZE in a mapfile to a database column to get the according
size?
example:

   CLASS
      EXPRESSION /1141/
      NAME "xxx"
      TEXT "A"
      LABEL
         TYPE TRUETYPE
         FONT 'alk_textsym'
         SIZE 12.755905511811023622047244094485 [* factor in database?]
         #MINSIZE 5
         #MAXSIZE 9
         POSITION cc
         OFFSET 0 0
         #MINDISTANCE 2
         COLOR 0 0 0
         ANTIALIAS TRUE
         PARTIALS FALSE
         FORCE True
      END
   END

Has anybody experience doing this?

thank you in advance
Thomas
--------------------

Thomas Preuth
CCGIS GbR



--
--------------------
Thomas Preuth
CCGIS GbR

Siemensstr. 8
D - 53121 Bonn

Tel.:   +49 (228) 908 26 -0
Fax:    +49 (228) 908 26 -11
Web:    www.ccgis.de, www.mapbender.org
eMail:  thomas.preuth at ccgis.de
--------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040825/1db008ee/attachment.htm>


More information about the MapServer-users mailing list