LatLonFromParts Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Create a
LatLon from position parameters.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static LatLon FromParts(
int latDeg,
int latMin,
int latDec,
char latNS,
int lonDeg,
int lonMin,
int lonDec,
char lonEW
)
Public Shared Function FromParts (
latDeg As Integer,
latMin As Integer,
latDec As Integer,
latNS As Char,
lonDeg As Integer,
lonMin As Integer,
lonDec As Integer,
lonEW As Char
) As LatLon
Parameters
- latDeg
- Type: SystemInt32
Degrees latitude. - latMin
- Type: SystemInt32
Latitude minutes. - latDec
- Type: SystemInt32
Latitude degree decimal minutes. - latNS
- Type: SystemChar
Latitude compass direction. One of: 'N', 'S'. - lonDeg
- Type: SystemInt32
Degrees longitude. - lonMin
- Type: SystemInt32
Longitude minutes. - lonDec
- Type: SystemInt32
Longitude degree decimal minutes. - lonEW
- Type: SystemChar
Longitude compass direction. One of: 'E' 'W'.
Return Value
Type:
LatLonA new LatLon.
Remarks Degree Decimal Minutes (DDM) is a standard used by some governments and GPS manufacturers. Instead
of specifying Degrees (D), Minutes (M) and Seconds (S) a position may be expressed as D, M, DDM where
DDM is a 4-digit decimal fraction of a minute.
See Also