<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body>
All,
<br>
<br>
OK, I thought about this some more . . . .
<br>
<br>
Just as a cheat to get something going, what about just stringing two
of the labels together, top and bottom of the line, and seperate them
by some spaces in the text.&nbsp;&nbsp; This would essentailly give me what I'm
looking for, but it also has one problem,&nbsp; I need to be able to figure
out the line direction.&nbsp;&nbsp; The address ranges are from-to related to the
beginning/end of the lines.&nbsp;&nbsp; Is there a way to tell which direction a
line is drawn?&nbsp; I believe the AUTO align does something like this
doesn't it?
<br>
<br>
The output would look something like:
<br>
<br>
&nbsp;&nbsp; LeftMin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LeftMax
<br>
-----------------------------&gt;
<br>
&nbsp;&nbsp; RightMin&nbsp;&nbsp;&nbsp;&nbsp; RightMax
<br>
<br>
<br>
&nbsp;&nbsp; RightMax&nbsp;&nbsp;&nbsp;&nbsp; RightMin
<br>
&lt;-----------------------------
<br>
&nbsp;&nbsp; LeftMax&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LeftMin
<br>
<br>
bobb
<br>
<br>
<br>
Stephen Woodbridge wrote:
<br>
<br>
<blockquote type="cite">I have asked about this feature in the past. It
would be a very nice feature to have, but it is not available in
mapserver yet unless you want to code it up <img
 src="cid:part1.07050009.02040205@ci.stpaul.mn.us" alt=":)"
 class="moz-txt-smily" height="19" width="19" align="middle"> maporama
does it and it looks very nice.
  <br>
  <br>
  <a class="moz-txt-link-freetext" href="http://www.maporama.com/share/">http://www.maporama.com/share/</a>
  <br>
  <br>
I think it would be great if mapserver supported a more abstract label
positioning grammar like:
  <br>
  <br>
LABEL
  <br>
&nbsp; LABELITEM &lt;field&gt;
  <br>
&nbsp; ...
  <br>
&nbsp; LOCATION
  <br>
&nbsp;&nbsp;&nbsp; POSITION ...
  <br>
&nbsp;&nbsp;&nbsp; PERCENT_ALONG &lt;float&gt;
  <br>
&nbsp;&nbsp;&nbsp; SIDE [LEFT|RIGHT|CENTER|INSIDE|OUTSIDE]
  <br>
&nbsp;&nbsp;&nbsp; OFFSET [X|Y|NORMAL] &lt;float&gt;
  <br>
&nbsp; END
  <br>
END
  <br>
  <br>
Then you could attach multiple label blocks to a layer to generate the
labels you want. Moving LABELITEM into the LABEL block allows each
block too have its on item field.
  <br>
  <br>
This could also be used to display labels along polygon boundaries
using INSIDE|OUTSIDE for things like administrative boundaries.
  <br>
  <br>
-Steve
  <br>
  <br>
Bob Basques wrote:
  <br>
  <br>
  <blockquote type="cite">All,
    <br>
    <br>
I think I saw something like this being asked a few months back, but
haven't found it in a search.
    <br>
    <br>
I need to be able to label a line at both ends and on both sides.&nbsp;&nbsp; Are
there some techniques to use in MapServer for this?&nbsp;&nbsp; I can generate
the point locations from other software for the labels, but the dataset
changes quite frequently and I woulds like to pursue an automated
method if possible.
    <br>
    <br>
What I'm trying to label is a Street Centerline with the address ranges
on both ends, we also have a right/left distinction at both ends so
that I would need a label on each side of the line as well.&nbsp; Needless
to say the labels would need to align with the line segment as well
rotationally
    <br>
    <br>
Even a search keyword would help if someone knows of something in the
archives.
    <br>
    <br>
Thanks for any info.
    <br>
    <br>
bobb
    <br>
    <br>
  </blockquote>
  <br>
  <br>
</blockquote>
</body>
</html>