Thanks for your reply. I was aware of the rulertool, but I like to have
the distance in a table or textfile.
I know there is a distance function in MapInfo but I don't know how
to use it.
The MapInfo help says:
Distance( num_x , num_y , num_x2 , num_y2 , str )
Returns the distance between two locations.
The first two parameters specify the x and y value of the start location;
the next two parameters specify the x and y value of the end location;
the str parameter is a distance unit name, such as "mi" or "km".
How can I put this in the mapBasic window? Or should I calculate
it otherwise?
As long as I can get the distances in writing
Thanks, Patrick
"Thake, Peter" wrote:
Patrick,There is a ruler tool in Mapinfo that gives simple distance measurements,
otherwise I guess you will need some MapBasic code. The ruler tool is on the
Main toolbar.regards,
Pete, Ordnance Survey, UK
-----Original Message-----
From: Patrick van der Deijl [mailto:[EMAIL PROTECTED]]
Sent: 08 December 1999 11:52
To: [EMAIL PROTECTED]
Subject: MI: Distance calculationHi all.
Maybe a small, easy problem: How can I calculate, in MapInfo, the
distance between two points? Do I have to do something special with
the projection?
I'm completely lost here.Thank you very much in advance
Patrick van der Deijl
--
Geodan IT bv
Jan Luijkenstraat 10
1071 CM Amsterdam
The Netherlands
Tel. +31 (0)20-5707300
Fax. +31 (0)20-5707333Also visit our website: www.geodan.nl
--
Geodan IT bv
Jan Luijkenstraat 10
1071 CM Amsterdam
The Netherlands
Tel. +31 (0)20-5707300
Fax. +31 (0)20-5707333
Also visit our website: www.geodan.nl
begin:vcard n:Van der Deijl;Patrick tel;fax:+31-(0)20-570 73 33 tel;work:+31-(0)20-570 73 29 x-mozilla-html:FALSE org:Geodan IT b.v. adr:;;Jan Luijkenstraat 10;Amsterdam;;1071 CM ;The Netherlands version:2.1 email;internet:[EMAIL PROTECTED] title:drs. x-mozilla-cpt:;19296 fn:Patrick Van der Deijl end:vcard