How to create closest distance in MapInfo Professional?

How to create closest distance in MapInfo Professional?

Returns an object representing the shortest or longest distance between two objects. You can call this function from the MapBasic Window in MapInfo Professional. Ten years ago I wanted exactly the same functionality in Avenue in Arcview 3.x but there was not to much to do about it.

How to calculate furhest distance between two objects?

If you look at the image here, to me the furhest distance should be calculated between A and B. Find the object in a table that is farthest from a particular object. The result is a two-point Polyline object representing the farthest distance.

How to find the furthest object in a table?

Find the object in a table that is farthest from a particular object. The result is a two-point Polyline object representing the farthest distance. So, the title is a little bit misleading, but it is actually finding the furthest object, not the furthest point within the object.

Is the shortest distance between two edges in 2D?

In 2D the shortest distance will not be between two edges (well, it can be if the edges is paralell, but then you will always get the same min distance between one of the vertex points and one of the edges)

How to reset the coordinate system in MapBasic?

MapBasic’s coordinate system can be reset through the Set CoordSys statement. If the current coordinate system is an earth coordinate system, Distance ( ) returns the great-circle distance between the two points. A great-circle distance is the shortest distance between two points on a sphere.

What kind of coordinate system does MapInfo Professional use?

By default, MapInfo Professional expects coordinates to use a Longitude/Latitude coordinate system. MapBasic’s coordinate system can be reset through the Set CoordSys statement. If the current coordinate system is an earth coordinate system, Distance ( ) returns the great-circle distance between the two points.