<!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. This would essentailly give me what I'm
looking for, but it also has one problem, I need to be able to figure
out the line direction. The address ranges are from-to related to the
beginning/end of the lines. Is there a way to tell which direction a
line is drawn? I believe the AUTO align does something like this
doesn't it?
<br>
<br>
The output would look something like:
<br>
<br>
LeftMin LeftMax
<br>
----------------------------->
<br>
RightMin RightMax
<br>
<br>
<br>
RightMax RightMin
<br>
<-----------------------------
<br>
LeftMax 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>
LABELITEM <field>
<br>
...
<br>
LOCATION
<br>
POSITION ...
<br>
PERCENT_ALONG <float>
<br>
SIDE [LEFT|RIGHT|CENTER|INSIDE|OUTSIDE]
<br>
OFFSET [X|Y|NORMAL] <float>
<br>
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. Are
there some techniques to use in MapServer for this? 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. 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>