Hi Nathaniel
Same words for explanation. First column of TAble "Distance" is carrying a
value of RowId from Table1. On the other hand, second column is carying a
value from table 2. If the row is look as 2, 3, 34.566 it means the distance
(34.566) is between point from second row of Table1 (RowID = 2) and third
row of Table2 (RowID=3). In order to make more easy and flexible calculation
of distance I add a possibility choose an appropriate units. The old version
calculated distances in meters.
Any suggestions are appropriate.
Regards Stefan
> I have downloaded and autoloaded your calcdist.mbx. Thank you for
providing
> others with this fine tool. However, I have a question.
>
> I see that it interpolates data into 3 columns. These columns do not seem
> to be joined to any tables, hence I cannot find the unit of measure, nor
the
> particular points of measure per line.
>
> I am hopeful that you might shed some light on this.
>
> Thank you again for your assistance and providing the rest of us with such
a
> useful tool.
>
>
>
> > -----Original Message-----
> > From: Stefan Majtan [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, September 19, 2000 10:27 PM
> > To: MapInfo-L; Nick Hall
> > Subject: RE: MI Distance Calculations
> >
> > You can try the program attached with this mail.
> > I hope, it will be helpful for everyone.
> > Regards Stefan
> >
> > ----- Original Message -----
> > From: Nick Hall <mailto:[EMAIL PROTECTED]>
> > To: MapInfo-L <mailto:[EMAIL PROTECTED]>
> > Sent: Tuesday, September 19, 2000 6:03 PM
> > Subject: MI Distance Calculations
> >
> > Dear Listers,
> >
> > Sorry if this has been answered before - one of those things that
> > you don't you don't know until someone asks you.....
> >
> > I have two tables of points. I want to calculate the straight line
> > distance between all the points in the first table and all the points in
> > the second table. I have the app which lets you calculate the closest
> > point from one table to the other but I kind of need them all. Any
ideas?
> >
> > TIA
> >
> > Nick Hall
> > InfoTech Enterprises Europe
> > (previously Dataview Solutions)
> > Technology House, Lissadel Street
> > Salford M6 6AP
> > ENGLAND
> >
> > **WE HAVE CHANGED OUR NAME TO INFOTECH ENTERPRISES EUROPE - PLEASE
> > AMEND YOUR RECORDS**
> >
> > Tel: +44 (0)161 278 2557
> > Fax: +44 (0)161 737 7700
> > E-mail: [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> >
> > WEB: www.infotech-europe.com <http://www.infotech-europe.com>
> >
> > _______________________________________________________
> > WARNING - THIS E-MAIL TRANSMISSION IS CONFIDENTIAL.
> > This e-mail transmission (including any accompanying attachments)
> > contains confidential information which is intended for the named
> > addressee only. If you are not the intended recipient, you are
> > hereby
> > notified that any use, dissemination, distribution or reproduction
> > of
> > this e-mail is prohibited. If you have received this e-mail in error
> > please
> > contact us immediately at [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> > Thank you.
> > _______________________________________________________
> >
> > << File: CalcDist.mbx >>
>
CalcDist.mbx