[mapserver-users] Layer (line) with LABELITEM...
Paul james
pauljame at gmail.com
Wed Feb 3 09:18:18 PST 2010
Hi Steve!
Is it posible to do that now with new mapserver?
Thanks
On Mon, Oct 20, 2008 at 5:40 PM, Steve Lime <Steve.Lime at dnr.state.mn.us>wrote:
> Hi Paul: For now you must have 2 layers. There's no way to make one
> style apply
> to the line work and the another to a label marker. That may change in
> 5.4 but for
> now you're stuck with 2.
>
> Steve
>
> >>> "Paul james" <pauljame at gmail.com> 10/17/08 12:44 PM >>>
> 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/20100203/c3da27ca/attachment.htm>
More information about the MapServer-users
mailing list