🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

utm-latlng

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utm-latlng

LatLng to UTM converter vice versa

1.0.8
latest
Source
npm
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 11 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts