[mapserver-users] Layer (line) with LABELITEM...
Paul james
pauljame at gmail.com
Fri Oct 17 10:43:23 PDT 2008
Hello guys...
I have 2 layers, LINE and ANNOTATION...
Like that :
LAYER
NAME TestLINE
TYPE LINE
...
CLASS
STYLE
SYMBOL 'circle'
SIZE 16
COLOR 175 175 175
END ## BG
STYLE
SYMBOL 'circle'
SIZE 12
COLOR 247 190 33
END
MAXSCALE 40000
END
CLASS
MINSCALE 40001
#NAME 'US Interstate' ## Using Interstate Shield Symbol
Instead
STYLE
SYMBOL 'circle'
SIZE 14
COLOR 175 175 175
END ## BG
STYLE
SYMBOL 'circle'
SIZE 10
COLOR 247 190 33
END
MAXSCALE 45000
END
END
And I have a ANNOTATION to label the TestLINE layer:
LAYER
NAME 'road_sym'
TYPE ANNOTATION
LABELITEM 'roadnumber'
CLASS
STYLE
SYMBOL 'road'
SIZE 28
COLOR 255 0 0
END
STYLE
SYMBOL 'road'
SIZE 28
COLOR 115 113 206
OUTLINECOLOR 254 254 254
END
LABEL
TYPE TRUETYPE
FONT Arial
SIZE 8
COLOR 254 254 254
MINDISTANCE 100
MINFEATURESIZE 10
OFFSET 0 0
PARTIALS FALSE
END
MAXSCALE 20000000
END
END
That works great...
But, Is that possible to make just one layer with lines and annotation.. I
tried using LABELITEM and LABEL on LINE layer... But where Am I supposed to
write the label Style ?
[]´s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081017/f5836631/attachment.htm>
More information about the MapServer-users
mailing list