[Mapserver-users] Positioning of labels

Johan Antonsson johan at antonsson.com
Sun Nov 16 08:52:18 EST 2003


Hi all,

In my map sets there is information about label positions in the
annotation layer attribute table. The positioning system is about the
same as in the POSITION CLASS object parameter except that it uses
numbers instead of named positions:

POSITION parameter
ul uc ur
cl cc cr
ll lc lr

Position information in my .dbf file
7 8 9
4 5 6
1 2 3

I don't like to use the POSITION parameter since every label has its own
position relative to its point. What I'm looking for is a parameter in
the LAYER object e.g. called LABELPOSITIONITEM that would refer to the
position attribute table column. Is there such a feature in MapServer or
do I have to be content with POSITION=auto in the CLASS object? 

TIA

/Johan

------------------------------------------------------------
Johan Antonsson
johan at antonsson.com
------------------------------------------------------------






More information about the mapserver-users mailing list