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


-----Original Message-----
From: Woody Woodruff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 2:28 AM
To: Luis Baptista
Subject: RE: MI-L Counting endpoints in a point


This worked for me:  I had 2 tables "Points" (your nodes are points right?,
not nodes from a Pline or region) and "Lines" .  I snapped the lines to the
various nodes, and had a line not attached to any node, and I had a line
that connected to 2 nodes.  I went to Table>Update Column.  The table to
update was the Point table, and the column will be temporary. then use the
Line table in the Pull down for "Get Value from Table". Hit the Join button
and set it up to "where objects from Lines Intersects objects form Points".
In the Pull down called "Calculate", select Count.  Now use the temporary
field to update the perminate field in Nodes to update the number of lines
connected to each point.  Lines not connect to any point are not calculated,
lines that connect to 2 points, only count the end that connects to the
particular node.  Hope this all clear.  Here is the Map Basic Window text:

Add Column "Points" (CountOfLines_2 Integer)From Lines Set To Count(*) Where
intersects Dynamic

I don't think this will work unless the lines and points are in different
tables.  Its really a good idea to separate object types into their own
tables anyways since MI has a tuff time dealing with mixed object types in
the same table in some cases.

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


-----Original Message-----
From: Luis Baptista [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 6:44 AM
To: MI Questions
Subject: MI-L Counting endpoints in a point


Hi all,

I have several "Nodes" with "Lines" connecting them.
I want to update the table "Nodes" with the number of "Lines" with an
endpoint in it.

Someone can help me ?

Tks



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

Reply via email to