One process to achieve that would be to:
    If the polygons are not regions, make them so
   Create the line "centroidX(obj),CentroidY(obj)"
   Set the line as the target and erase the portion inside the two regions
   Measure the length of the resulting line


Slow if you had more than one or two to do - I'd much rather run it as a
mapbasic utility


Regards


Russ


----- Original Message -----
From: Burnside Niall <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 22, 2000 12:01 AM
Subject: MI Distance calculations


>
> I am interested in finding out whether or not it is possible to calculate
> the distance between the edges of two polygons within MapInfo. Currently,
I
> can only find a means of calculating the distance between the centroids of
> two polygons:
>
> centroidX(obj),CentroidY(obj), m "distance"
>
> What I am interested in calculating is the distance between the point at
> which the centroid to centroid line crosses the boundaries of both
polygons
> i.e. the shortest distance between the edges of both polygons.
>
> Any suggestions will be gratefully received, and I will post a summary.
>
> N.
>
> Niall Burnside
> PhD Researcher
> School of the Environment,
> University of Brighton,
> Moulsecoombe, Brighton.
> BN2 4GJ.
> 01273-642425
> [EMAIL PROTECTED]
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to