Hello,

This will find all *multi-polyline* lines currently in the map.
Replace MyTable with the name of your map.

>From MapBasic Window:

Select * from MyTable where val(str$(ObjectInfo(obj,21)))>1 into work
map from work
browse * from work

You can not compare objectinfo( ) with a number, it fails, so convert to
string then to number

To find if lines are not contiguous

Do this from a copy of your table or be sure to revert after running code
Replace [Some_Street_Name] with the name of the street you want to check
>From MBWin or by SQL:
Select * from MyTable where Street=[Some_Street_Name]

then use objects>combine
then select the combined street
in MBWin issue [run *all* lines each time]

dim aobj as object
aobj=selection.obj
print objectinfo(aobj,21)
undim aobj

if the number is > 1 then the line has problems, although some streets start
and stop

I also have a program called FixLine that does this by putting circles
around the bad spots and then will go back and break the lines,
fixing odd/even problems,
swapping line directions with odd/even support or no data check,
splitting lines with readdressing by click or node #,
combining with lowest/highest addresses,
addressing [set the feet per address and start number],
block addressing [doing city blocks-different streets but same range],
convert pLine to line with addressing recalc,
one click to get to Options>Move Nodes dialog,
one click to buffer dialog,
creating a Unique Identifier [into field named GUID as
"sysop.ddddd.hhhhhhhhhh" h=% of 24hrs d is # days since 01 Jan 1900],
Color Picker -- then use Set Color -- helps to mark *done* work


Trey Pattillo
-97.665333W 27.799121N
www.wap3.com
[EMAIL PROTECTED]


----- Original Message -----
From: "Morrier, Steve" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 14:14
Subject: MI-L Broken Line Segment


> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
>
> Hi all,
>
> Is there a way to select line segments that have a break in them? I am
> trying to find all the lines that have a gap or break in them so that I
can
> get rid of all breaks. Thanks for your help.
>
> Steve
>
> -----Original Message-----
> From: Cameron Crum [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 12:18 PM
> To: [EMAIL PROTECTED]
> Subject: MI-L Win 2000 and MB/VB
>
>
> I have a custom MI application written in VB/MB. In Win 2000, if I
> update a table and redraw the map, all the layers don't always come back
> up. They are still in the layer control, but I ususally have to redraw 2
> or 3 times to get everything back on the screen. This doesn't happen in
> 95,98, or ME. It doesn't seem to matter how many layers are on screen
> either. It does the same thing whether I have 1 or 30 layers on the map.
> Has anyone else noticed a similar problem?
>
> Cameron
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to