Extends
- LatLon
Methods
toUtm() → {Utm}
Converts latitude/longitude to UTM coordinate.
Implements Karney’s method, using Krüger series to order n^6, giving results accurate to 5nm
for distances up to 3900km from the central meridian.
Throws:
-
If point not valid, if point outside latitude range.
- Type
- Error
Returns:
UTM coordinate.
- Type
- Utm
Example
var latlong = new LatLon(48.8582, 2.2945);
var utmCoord = latlong.toUtm(); // 31 N 448252 5411933