[Mapserver-users] how to turn off central point for labels (or how not to draw them for attribute=0) ?

Charlton Purvis cpurvis at asg.sc.edu
Mon Apr 26 06:52:36 PDT 2004


Moritz:

What does your CLASS look like?

Try doing something like:
    CLASS
      LABEL
        TYPE TRUETYPE
        ...
      END
      STYLE END
    END

The trick is to tell the CLASS only to render the label. It still needs
some sort of anchor -- the STYLE, but in this case, it's empty, so it
doesn't draw anything unless the LABEL works out.

Charlton




More information about the MapServer-users mailing list