> Does anyone know that MapInfo/MapBasic provide the function of
calculating
> the shortest distance from a point to a polygon?

I don't think there is any magic function in MapInfo which does this for
you.

So it has to be done the hard way: For every line section which makes up
the polygon you calculate the distance to the point in question and then
you find the minimum distance for all the line sections. Remember that
the shortest distance may not be to an endpoint of any of the line
sections - it can be somewhere in the middle.

Kind regards

Uffe Kousgaard
www.routeware.dk


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

Reply via email to