<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
That's about what I was describing in the second paragraph of my post,
only I don't think you would need the third class you have listed, just
set up a class, one for each direction, and only labels those based
where a value exists.<br>
<br>
bobb<br>
<br>
<br>
<br>
Milo van der Linden wrote:
<blockquote cite="mid:47CBC150.5030105@zeelandnet.nl" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Hello Martijn,<br>
<br>
I am able to help you on this one.<br>
<br>
There is no need to set a transparent line. It is a matter of defining
style based upon an attribute.<br>
First you need a definition for a class item:<br>
<br>
CLASSITEM 'DRIVING_DIRECTION'<br>
<br>
Then you set up classes for the directions:<br>
<br>
CLASS<br>
NAME 'FROM_LEFT'<br>
EXPRESSION 'FROM_LEFT'<br>
MINSCALE 0<br>
MAXSCALE 100000<br>
STYLE<br>
SYMBOL 0 <br>
SIZE 6 <br>
OFFSET -3 0<br>
WIDTH 3<br>
COLOR 249 201 139<br>
END<br>
END<br>
<br>
CLASS<br>
NAME 'FROM_RIGHT'<br>
EXPRESSION 'FROM_RIGHT'<br>
MINSCALE 0<br>
MAXSCALE 100000<br>
STYLE<br>
SYMBOL 0 <br>
SIZE 6 <br>
OFFSET 3 0<br>
WIDTH 3<br>
COLOR 249 201 139<br>
END<br>
END<br>
<br>
CLASS<br>
NAME 'SINGLELANE'<br>
EXPRESSION 'SINGLELANE'<br>
MINSCALE 0<br>
MAXSCALE 100000<br>
STYLE<br>
SYMBOL 0 <br>
SIZE 6 <br>
#OFFSET 3 0 #NO OFFSET<br>
WIDTH 3<br>
COLOR 249 201 139<br>
END<br>
END<br>
<br>
<br>
<br>
<br>
Martijn van der Pauw schreef:
<blockquote
cite="mid:DD224CFFCD0589448144BF78EEB4A6C446CBAE@EXCH01.nl.meteogroup.net"
type="cite">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6000.16608" name="GENERATOR">
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="703014608-03032008">If I have right understood,
you suggest to add the lines as an attribute/arrowsymbol to a single
(transparent) line that represents the highway. I will try to find out
how to do something like that. Thank you for your suggestion. It sounds
as a possible solution.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="703014608-03032008"></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial"
size="2"><span class="703014608-03032008">Martijn</span></font></div>
<br>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="nl">
<hr tabindex="-1"></div>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="nl"><font
face="Tahoma"><font size="2"><b>Van:</b> Bob Basques <span
class="703014608-03032008"><font color="#0000ff" face="Arial"> </font></span></font></font></div>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="nl"><font
face="Tahoma"><font size="2"><span class="703014608-03032008"> </span><b>Onderwerp:</b>
Re: [mapserver-users] lane presentation of highways<br>
</font></font><br>
</div>
I can't think of a way of doing this, because you physically need to
spread the two lines apart for the longer scale views if you want to
see both. I have a couple of ideas about how to label a wide sigle
line though that would show both direction if they are attached as
attributes.<br>
<br>
It might be possible to draw the lines, and then draw the layer again,
drawing only with the Symbols on top (no lines), and then offset the
arrow symbol locations, Actually I think that would work. I have
something similar in a address range labeling layer. It would take a
bit of trial and error to do though.<br>
<br>
You could still get into trouble though at longer range views, just
because there won't physically be enough room to apply the labels.<br>
<br>
bobb<br>
<br>
<br>
Martijn
<blockquote
cite="mid:DD224CFFCD0589448144BF78EEB4A6C446CBA5@EXCH01.nl.meteogroup.net"
type="cite">
<meta content="MSHTML 6.00.6000.16608" name="GENERATOR">
<div dir="ltr" align="left"> </div>
<div><span class="803430408-29022008"></span><font face="Arial"><font
color="#0000ff"><font size="2">The data is set up with two seperate lines, one for each direction. On the higher zoom levels you can already see the seperate lanes. But, unfortunately, when zoomed out they overlay each other of course.</font></font></font></div>
<div> </div>
<div><font size="-0"><font size="-0"><font face="Arial"><font
color="#0000ff"><font size="2">M<span class="803430408-29022008">artijn</span></font></font></font></font></font></div>
<div><br>
</div>
<div class="OutlookMessageHeader" dir="ltr" align="left" lang="nl">
<hr tabindex="-1"> <font face="Tahoma" size="2"><b>Van:</b> Bob
Basques [<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="mailto:bob.b@gritechnologies.com">mailto:bob.b@gritechnologies.com</a>]
<br>
<br>
</font><br>
</div>
Is the data for the lines set up as single line layers, or are there
two separate lines, one for each direction?<br>
<br>
bobb<br>
<br>
<br>
Martijn wrote:
<blockquote
cite="mid:DD224CFFCD0589448144BF78EEB4A6C446CBA4@EXCH01.nl.meteogroup.net"
type="cite">
<meta content="MSHTML 6.00.6000.16608" name="GENERATOR">
<!--ppd1000033-->
<div dir="ltr" align="left"> </div>
<div dir="ltr" align="left"><font size="2"><font face="Arial">Hello, <br>
<span class="964212611-22022008"> </span></font></font></div>
<div dir="ltr" align="left"><span class="964212611-22022008"><font
face="Arial" size="2">I'd like to know how I can plot the 2 seperate
directions of a highway (I have the data in the database) in a way that
they can be distinguished from each other at all zoomlevels. When you
zoomed in a lot, you can always see the different driving directions
(lanes), but when you zoom out they overlay each other. Important is
that each lane is colored depending the road condition. So, the
standard way of plotting a highway doesn't meet our needs. The colors
of the 2 seperate driving directions can/will differ.</font></span></div>
<div dir="ltr" align="left">
<div dir="ltr" align="left"><span class="964212611-22022008"></span></div>
<span class="964212611-22022008"></span></div>
<div dir="ltr" align="left"><span class="964212611-22022008"><font
face="Arial"><font size="2"><span class="505000116-28022008"></span></font></font></span> </div>
<div dir="ltr" align="left"><span class="964212611-22022008"><font
face="Arial"><font size="2"><span class="505000116-28022008"> </span>Regards,</font></font></span></div>
<div dir="ltr" align="left"><span class="964212611-22022008"><font
face="Arial" size="2">Waver</font></span></div>
<div dir="ltr" align="left"><font size="2"><font face="Arial"><span
class="964212611-22022008"></span><br>
</font></font> </div>
<br>
<br>
<p><font size="1">--</font></p>
<p><font size="1">This e-mail is from Meteo Consult B.V., a
MeteoGroup company. For more information, see <a
href="http://www.weer.nl/gebruiksvoorwaarden" moz-do-not-send="true"><u>www.weer.nl</u></a></font></p>
<p><font size="1">This e-mail may contain confidential
information. Only the addressee is permitted to read, copy, distribute
or otherwise use this e-mail or any attachments. If you have received
it in error, please contact the sender immediately. Any opinion
expressed in this e-mail is personal to the sender and may not reflect
the opinion of MeteoGroup.</font></p>
<p><font size="1">Any e-mail reply to this address may be
subject
to interception or monitoring for operational reasons or for lawful
business practices.</font></p>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:mapserver-users@lists.osgeo.org" moz-do-not-send="true">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
mapserver-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a moz-do-not-send="true" 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>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
mapserver-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a moz-do-not-send="true" 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>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>
</body>
</html>