Maptitude - http://research.umbc.edu/~roswell/maptitude.html

// Hello:
 
// Here is a GISDK code snippet that should do the job
 
// Get the current map units, whatever they are
current_map_units = GetMapUnits("Plural")
 
// Set the current map units to "Meters"
SetMapUnits("Meters")
 
// Assuming p1coord and p2coord are GISDK coord objects
distance = GetDistance(p1coord,p2coord)
 
ShowMessage("Distance: " + RealToString(distance) + " meters.")
 
// Reset the current map units
SetMapUnits(current_map_units)
 
 
// Giovanni
 
----- Original Message -----
Sent: Friday, March 09, 2001 7:05 AM
Subject: [Maptitude] Distances in Lon/Lat using meters.

Maptitude - http://research.umbc.edu/~roswell/maptitude.html

Hi all:

Please, some help is required. We need to obtain the distance between to
points in Maptitude, using the GISDK function GetDistance(p1,p2).
Somebody can provide a detailed example of the use of this function?
What is required is just the distance in meters, using geographic
coordinates.

Thanks, in advance, for your  collaboration. Best regards,

Reinaldo



______________________________________________________________________
To unsubscribe, write to [EMAIL PROTECTED]

To unsubscribe, write to [EMAIL PROTECTED]

Reply via email to