I think you should just use a POINT layer then. Annotation is dedicated
to labels, it's a way to have labels displayed WITHOUT the anchor point.
Hans Castorp a écrit :
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.rd.yahoo.com/evt:51361/*http://es.answers.yahoo.com/dir/index;_ylc=X3oDMTE4ZWhyZjU0BF9TAzIxMTQ3MTQzMjIEc2VjA0Jhbm5lcgRzbGsDQWNxdWlzaXRpb24-?link=over&sid=XXXXXXXX>.
------------------------------------------------------------------------
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Guillaume SUEUR
Expert SIG et OpenSource
NEOGEO
46 RUE MATABIAU
31000 TOULOUSE
06 74 91 95 20
Site web : http://www.neogeo-online.net
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users