Hi Chris,

There are some ways of doing this:

1. Select all objects of type Line (I guess you already know this one):
        Select * From MYTABLE Where Str$(ObjectInfo(OBJ, 1)) = "3"

        Where 
                - MYTABLE is the name of your table
                - "3" refers to the objecttype line

2. Select all objects with more than one segment:
        Select * From MYTABLE Where Val(Str$(ObjectInfo(OBJ, 21))) > 1
        
HTH,
Peter Horsbøll Møller
GIS Developer
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis


-----Original Message-----
From: Chris Stutz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 21, 2004 12:41 AM
To: [EMAIL PROTECTED]
Subject: MI-L "true" polylines or combined disjunct lines


Dear All:

I've done a bit of digging through the archives but found nothing that meets my 
specific need.  

I'm using MI 6.5 and have tables where some objects are lines, some are "true" 
polylines (constructed using the polyline tool), and others are combinations of 
disjunct lines, which are converted by MI into polylines also.  I'd like to be able to 
determine which are true polylines and which are combinations of disjunct lines.

I can't find a way to read combination status directly.  Am I missing something 
obvious?  

Or is there a way to return the number "real" segments of a polyline?  If this were 
possible, you could compare that to the number of nodes (if there were n nodes and 
fewer than n-1 segments, there would have to be disjunct lines).

The only potential method I've come upon so far is to copy the table, select all 
objects and disaggregate, and then check to see if any new line objects are created.  
This is a bit of a pain.


Thanks in advance for any ideas.
Chris


_______________________________ 

Chris Stutz 
Associate Director

SPACE SYNTAX



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



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

Reply via email to