Thanks Dave,

I have everything working more-or-less.
The Direction_of_Travel field has three possible values; 'B'oth
directions, 'T'o and 'F'rom.
I have three tables for roads now; one with all roads, one with just the
'To' roads and one with just the 'From' roads.
I have set the line style of the 'To' and 'From' layers as left and
right chevrons respectively, and they overlay the full road layer. In
this way I can specify the colour of the one-way chevrons without
affecting the colour of the underlying road.

Funnily enough, I just managed to get the road colour effect I desired,
and it's the same method as you have suggested!
I have a solid grey road that is 6-pixels wide with a 4-pixel wide copy
on top which is coloured yellow. This gives the 1-pixel wide edge I
wanted.

Next problem: how to show bridges?! I'll have to interrogate the roads
table....

Thanks for your help.

Cheers

Tim


-----Original Message-----
From: Dave Greene [mailto:[EMAIL PROTECTED] 
Sent: 23 June 2005 12:31
To: Tim Smith
Cc: [email protected]
Subject: RE: MI-L Street directions


> Is there a way to create a one-way direction
>  indicator from this 'To' and 'From' info in
MapInfo?
>  I extracted these records using a query and set the
>  'Show line direction' option, but the arrows go in
>  the wrong direction - I guess it doesn't get the
>  line direction from the 'Direction_of_Travel'
field.

Right, MIPro won't know what that column means -- it
just shows you the order of the lines' nodes as
they're stored internally in the .MAP file.  But I
would think _one_ of the two query tables ('To' or
'From') would have the arrows in the right
direction... (?)

You should be able to set up the line style you want
by adding each query table separately to your map, and
applying a Style Override to it ('Display' button in
Layer Control).  If the arrow-to-the-right line style
gives you the wrong direction, apply the
arrow-to-the-left style instead.  (And there's a
double-ended arrow style you can use for 'Both'.)

If you want to avoid all the querying, you might try
setting up an individual-value line-style thematic on
the Direction_of_Travel column, and altering the
individual styles as described above.

> A quickie... is there any way I can have a line
>  style that allows me to specify both the colour of
>  the line, and the colour of the line 'edges'?

Unless I'm forgetting something, line styles only ever
have one color attribute that you can change in MIPro
-- so you can have any second color you want as long
as it's grey...  Except you might be able to pull some
clever tricks with the Line Style Editor; I forget
what the limitations are exactly.

It sounds as if your best bet might be to add each
query table to the map _twice_, and apply a wider line
style (with your 'edge' color) to the lower layer in
each pair.  With the right combination of widths I
think you can get the two-color effect you're
describing.


Dave

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 16904

Reply via email to