@luschee/utm-latlng (1.0.12)
Published 2024-09-27 13:55:23 +00:00 by scovillo
Installation
@luschee:registry=npm install @luschee/utm-latlng@1.0.12"@luschee/utm-latlng": "1.0.12"About this package
utm-latlng
LatLng to UTM converter vice versa for Nodejs.
Installation
Via [npm]:
$ npm install utm-latlng
Usage
Javascript
var utmObj = require('utm-latlng');
var utm=new utmObj(); //Default Ellipsoid is 'WGS 84'
OR
var utm=new utmObj('Everest');
Ellipsoid List
- Airy
- Australian National
- Bessel 1841
- Bessel 1841 Nambia
- Clarke 1866
- Clarke 1880
- Everest
- Fischer 1960 Mercury
- Fischer 1968
- Fischer 1968
- GRS 1967
- GRS 1980
- Helmert 1906
- Hough
- International
- Krassovsky
- Modified Airy
- Modified Everest
- Modified Fischer 1960
- South American 1969
- WGS 60
- WGS 66
- WGS 72
- WGS 72
- ED50
- WGS 84
- EUREF89
- ETRS89
utm.convertUtmToLatLng(easting, northing, zoneNum, zoneLetter);
Convert from UTM to latitude/longitude coordinates.
Returns { lat: xxxxx, lng: xxxxx }.
utm.convertLatLngToUtm(latitude, longitude, precision);
Convert from latitude/longitude coordinates to UTM.
Returns { Easting: xxxxx, Northing: xxxxx, ZoneNumber: xxxx, ZoneLetter: xxxxx }.
Keywords
utm
latlon
latitude
longitude
convert
wgs84
geodesy
ellipsoid
coordinates
Details
Assets (1)
Versions (7)
View all
utm-latlng-1.0.12.tgz
7.1 KiB