[mapserver-users] Problem with "ANGLE FOLLOW"
umn-ms at hydrotec.de
umn-ms at hydrotec.de
Mon Dec 3 06:07:38 PST 2012
> Try lowering the BUFFER number? ...
Good idea. But even changing to "BUFFER 0" didn't change anything ...
Problem is still there.
Benedikt
TC Haddad <tchaddad at gmail.com> schrieb am 03.12.2012 13:54:56:
> TC Haddad <tchaddad at gmail.com>
> 03.12.2012 13:55
>
> An
>
> "umn-ms at hydrotec.de" <umn-ms at hydrotec.de>
>
> Kopie
>
> Thema
>
> Re: [mapserver-users] Problem with "ANGLE FOLLOW"
>
>
> Try lowering the BUFFER number? If each label has a big buffer, then
> less labels can fit...
>
> Tanya
>
> On Dec 3, 2012, at 2:56 AM, umn-ms at hydrotec.de wrote:
>
> >
> > Hi
> >
> > I'm using ANGLE-FOLLOW in Mapserver 6.2 to label lines.
> > Unfortunately only 5 of 12 features are labeld.
> >
> > I attach an example with data and mapfile. It can be used with
> > shp2img -m example.map -o out.png
> > All features are drawn, but most of them are not labeld, although there
> > should be enough space for all labels.
> >
> > (To activate this example, one has to add arialbd.ttf in the
> > test-directory. I didn't attach this one, because of size-limits
> > in this mailing-list...)
> >
> > Without "ANGLE FOLLOW" all labels are drawn.
> >
> > Benedikt
> >
> >
> > #Layerdefinition:
> >
> > LAYER
> > NAME "Striche"
> > TYPE LINE
> > STATUS ON
> > DEBUG 5
> > TEMPLATE "dummy.html"
> > TOLERANCE 0
> > DATA "Striche"
> > LABELITEM "name"
> > CLASS
> > NAME "Hauptsammler"
> > LABEL
> > COLOR 0 0 0
> > OUTLINECOLOR 255 255 255
> > OUTLINEWIDTH 6
> > TYPE truetype
> > SIZE 5
> > MINDISTANCE 0
> > ANGLE FOLLOW
> > FORCE TRUE
> > FONT "arial-bold"
> > BUFFER 10
> > END
> > STYLE
> > OUTLINECOLOR 0 0 0
> > WIDTH 3
> > PATTERN 5 5 END
> > LINECAP BUTT
> > END
> > END
> > END
> > (See attached file: missinglabel.zip)
> > <missinglabel.zip>
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list