Hi Christian,
Using MapBasic, setup a Nested For Loop.
*
Dim nLoop, nInnerLoop As Integer
Dim fDistance As Float
Dim fX1, fY1. fX2, fY2 As Float
For nLoop = 1 to TableInfo(TableA, TAB_INFO_NROWS)
Fetch Rec nLoop from
-Original Message-
[mailto:[EMAIL PROTECTED]]On Behalf Of Curt Newsome
Sent: May 11, 2000 12:15 PM
Subject: Re: MI. Measuring distancce
This should work - the distance function is very poorly documented in the
MapInfo help files/books.
Here is some information printed
As one who bends over backward (a little too far probably) to avoid
programming (and for those who don't own MapBasic), I have a SQL-based,
non-programming alternative:
In the "Select Columns" box:
* (or whatever columns you want),
Round(Distance(CentroidX(obj), CentroidY(obj),