<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
ANGLE FOLLOW is subject to MAXOVERLAPANGLE (see
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://mapserver.org/mapfile/label.html">http://mapserver.org/mapfile/label.html</a>).
If there is an angle between letters that is larger than 22.5 (if
you don't have a manually-set value), then the label will not be
drawn.<br>
<br>
I wrote a blog post that may help you understand:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://research.dmsolutions.ca/2011/new-and-exciting-in-mapserver-6-0/">http://research.dmsolutions.ca/2011/new-and-exciting-in-mapserver-6-0/</a><br>
<br>
Christy<br>
<br>
<div class="moz-cite-prefix">On 12/03/2012 09:07 AM,
<a class="moz-txt-link-abbreviated" href="mailto:umn-ms@hydrotec.de">umn-ms@hydrotec.de</a> wrote:<br>
</div>
<blockquote
cite="mid:OFFE7AF660.4256844D-ONC1257AC9.004D8904-C1257AC9.004D9AB8@hydrotec.de"
type="cite">
<blockquote type="cite">
<pre wrap="">Try lowering the BUFFER number? ...
</pre>
</blockquote>
<pre wrap="">Good idea. But even changing to "BUFFER 0" didn't change anything ...
Problem is still there.
Benedikt
TC Haddad <a class="moz-txt-link-rfc2396E" href="mailto:tchaddad@gmail.com"><tchaddad@gmail.com></a> schrieb am 03.12.2012 13:54:56:
</pre>
<blockquote type="cite">
<pre wrap="">TC Haddad <a class="moz-txt-link-rfc2396E" href="mailto:tchaddad@gmail.com"><tchaddad@gmail.com></a>
03.12.2012 13:55
An
<a class="moz-txt-link-rfc2396E" href="mailto:umn-ms@hydrotec.de">"umn-ms@hydrotec.de"</a> <a class="moz-txt-link-rfc2396E" href="mailto:umn-ms@hydrotec.de"><umn-ms@hydrotec.de></a>
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, <a class="moz-txt-link-abbreviated" href="mailto:umn-ms@hydrotec.de">umn-ms@hydrotec.de</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
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
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>