Cadcorp SIS API Methods

GetLatLonHgtFromAxes Method

Description

Gets the latitude, longitude and height above sea-level of an (x,y,z) position.

Syntax

Visual Basic
Public Function GetLatLonHgtFromAxes( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double, _
   ByVal datum As String _
) As String

Parameters

x
The x coordinate position within the current axes.
 
y
The y coordinate position within the current axes.
 
z
The z coordinate position within the current axes.
 
datum
The named Geodetic Datum to use. This can be any named Geodetic Datum previously created using DefineNolDatum, or loaded from a Named Object Library (NOL).

Return Type

A comma-delimited string containing the latitude, longitude (both in degrees) and height of the given position in the given Geodetic Datum. Use SplitPos to get the latitude, longitude and height values themselves.

Remarks

Available: GEO MM ME MD OD OM OV SISpy

Group:

Example

sis.LatLonHgtFromAxes (100, 100, 0, "OGC.WGS_1984")


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).