scaling labels

Yeewen Sat yeewen at petromap.com
Tue Oct 3 11:51:33 EDT 2000


Hi,
I can't seemed to be able to scale labels up and down as the map zoom in and
out. It always remains the same as initial size. When I load the mapfile, it
doesn't returns any error, so I assume that font is installed correctly. I
thought that all it requires is to set LABEL's TYPE to TRUETYPE, and
specifying MINSIZE and MAXSIZE....am I missing something?

This is what my mapfile look like:

...

LAYER
    NAME label
    TYPE ANNOTATION
    STATUS DEFAULT
    DATA    label
    CLASSITEM "ID"
    LABELITEM "TEXT"
    CLASS
        EXPRESSION "1"
        LABEL
            COLOR 0 0 0
            POSITION AUTO
            TYPE TRUETYPE
            FONT arial
            SIZE 8
            MAXSIZE 20
            MINSIZE 4
         END
    END
END

...


Thanks.
--
Yee Wen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20001003/6d7e47b8/attachment.html


More information about the mapserver-users mailing list