[Mapserver-users] Scalable Text

Armin Burger armin.burger at gmx.net
Tue Dec 16 06:19:58 EST 2003


Ron,

you also need to set
SYMBOLSCALE ...
at layer level as reference scale for the labels

armin


> Hello there, I am a new user to Mapserver and although I have been able
> to figure out most things in one way or another, the one thing that I
> can't seem to figure out (or find good samples of) is scalable text. The
> text is always at the size that I specify for MINSIZE. Here's a snippet!
> Any ideas?

> Thanks,
> Ron

> Ron Halliday, Cartographer
> Portolan Geomatics Inc.

>   LAYER
>     GROUP grid
>     LABELITEM "ID"
>     LABELMAXSCALE 7000000
>     LABELMINSCALE 100000
>     MAXSCALE 7000000
>     MINSCALE 100000
>     NAME LBL
>     DATA Topo
>     STATUS DEFAULT
>     TYPE ANNOTATION
>     PROJECTION
>       "init=epsg:4268"
>     END
>     CLASS
>     LABEL
>       ANGLE 0
>       ANTIALIAS true
>       COLOR 192 192 192
>       FONT swiss_black-shadow
>       FORCE false
>       MAXSIZE 100
>       MINSIZE 12
>       PARTIALS false
>       POSITION CC
>       TYPE truetype
>     END
>     END
>   END

> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the mapserver-users mailing list