[Mapserver-users] symbol without label

Bo Nintzel nintzel at geod.tu-darmstadt.de
Thu Apr 29 08:28:47 EDT 2004


Dear list,
In my map I want to draw a symbol instead of the label-text.
The position of the symbol should be the same as the annotation.
This is a part of my Map-File:

   # Start of LAYER DEFINITIONS 
---------------------------------------------
  LAYER # Flurstücke
    NAME         symbole
    DATA         flurstuecke_region
    STATUS       DEFAULT
    TYPE         ANNOTATION
   
    LABELITEM "OBJNUM"
    LABELMAXSCALE 8000.0
   
    CLASS
      EXPRESSION ('[OBJNUM]'eq '0066ZZ3' OR '[OBJNUM]'eq 'G00D8HN')
      STYLE
        SYMBOL '../symbols/sp.gif'
      END     
     
     LABEL
        POSITION CC
        SIZE TINY
        COLOR 255 255 255
      END
      COLOR        0 0 0    
    END
  END # States polygon layer ends here
  # End of LAYER DEFINITIONS -------------------------------

With this, the Label-text is drawn on top of  the symbol. When I don't 
draw the Label, there is no symbol. Is there a posibility to draw the 
Symbol without the text.

Regards
Bo Nintzel


-----------------------------
cand. geod. Bo Nintzel
Geodätisches Institut
TU Darmstadt
-----------------------------




More information about the mapserver-users mailing list