Just to add:

I have a small application at my website, which will swap the direction
of all selected (poly)lines.

Lars' comments about swapping house numbers is correct. There may be one
more small problem: When the direction of housenumbers is different on
each side of the street ! Shouldn't happen, but ......

Kind regards

Uffe Kousgaard
www.routeware.dk


----- Original Message -----
From: "Lars V. Nielsen" <[EMAIL PROTECTED]>
To: "Woody Woodruff" <[EMAIL PROTECTED]>
Cc: "Mapinfo List" <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 1:52 PM
Subject: Re: MI-L Line Direction Query


> Hi Woody,
>
> Provided that the lines are simple lines, i.e. only have a starting
and an ending point (a vector), you may be able to use the
> following. Otherwise a program's your best bet.
>
> UPDATE Selection
> SET OBJ = CreateLine(ObjectGeography(obj,3), ObjectGeography(obj,4),
ObjectGeography(obj,1), ObjectGeography(obj,2))
>
> Basically what it does is replaces the vector with a new vector
running the other way.
> Off couse you probably need to apply this to a selection of the
vectors you want to reverse.
>
> And do remember to swap the house numbers too :-)
>
> Best regards/Med venlig hilsen
> Lars V. Nielsen
> GisPro, Denmark
> http://www.gispro.dk/
> http://hjem.get2net.dk/lars-online/
> WGS84: 10.20'40"E 55.20'20"N
> ----- Original Message -----
> From: "Woody Woodruff" <[EMAIL PROTECTED]>
> To: "Mapinfo List" <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 8:12 PM
> Subject: MI-L Line Direction Query
>
>
> > I need to select all lines from a table that are of a particular
direction.
> > Then update table to reverse all the lines I selected.   I am trying
to
> > orient all Street line directions so that they point in the
direction of
> > increasing street address numbers.  I suspect this is an Object Info
value.
> > I have revdir-184.mbx, but it is going very slow, on a line by line
> > examination.  No programming please
> >
> > William "Woody" Woodruff
> > Zoning Administrator
> > Charter Township of Union, Isabella County, Michigan
> > (989) 772 4600 EXT 41
> > Visit our web site at http://www.geocities.com/ctuzoning/index.htm
> >
> >
>
> ---------------------------------------------------------------------
> > List hosting provided by Directions Magazine | www.directionsmag.com
|
> > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > For additional commands, e-mail:
[EMAIL PROTECTED]
> > Message number: 4763
> >
>
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
> Message number: 4768
>
>


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

Reply via email to