Hi to all,
It is possible to have an annotation layer with symbol but without label??
I will try to explain it: I have an ANNOTATION layer in order to place SYMBOLS
depending on some EXPRESSION values. The problem is that I’m not capable to
place SYMBOLS without place LABELS, and what I need is to place only symbols.
Here is my mapfile:
This configuration shows both symbol and label
LAYER
NAME 'road_sym'
GROUP 'cartografia'
DATA 'carreteras2'
STATUS DEFAULT
TYPE ANNOTATION
CLASSITEM 'MATRICULA'
LABELITEM 'MATRICULA'
CLASS
EXPRESSION 'AP-53'
STYLE
SYMBOL 'AP-53'
SIZE 15
OUTLINECOLOR 254 254 254
END
LABEL
ANTIALIAS true
POSITION AUTO
ANGLE FOLLOW
FONT "arial"
TYPE truetype
COLOR 0 0 0
MINDISTANCE 300
MINFEATURESIZE 10
OFFSET 0 0
PARTIALS FALSE
SIZE 6
OUTLINECOLOR 255 255 255
END
END
END
This configuration shows nothing (neither symbol nor label)
LAYER
NAME 'road_sym'
GROUP 'cartografia'
DATA 'carreteras2'
STATUS DEFAULT
TYPE ANNOTATION
CLASSITEM 'MATRICULA'
LABELITEM 'MATRICULA'
CLASS
EXPRESSION 'AP-53'
STYLE
SYMBOL 'AP-53'
SIZE 15
OUTLINECOLOR 254 254 254
END#end symbol
END #end style
END #end class
END #end layer
Thanks in advance.
Hans Castorp
______________________________________________
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas
http://es.answers.yahoo.com/info/welcome
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users