Click or drag to resize

LatLonFromParts Method

Verizon Connect Logo
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
)

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: LatLon
A 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