Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

geodesy

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geodesy - npm Package Versions

2

2.4.0

Diff

Changelog

Source

[2.4.0] - 2022-03-16

Fixed

  • Fix check for coincident points (previously < ≈95mm got treated as coincident)
  • Add check for null arguments to LatLonEllipsoidal constructor

Added

  • LatLonNvectorSpherical.centreOf()
chrisveness
published 2.3.0 •

Changelog

Source

[2.3.0] - 2021-11-16

Fixed

  • Fix parsing of 'H' 500km squares (Scottish islands) [#96]
  • Fix Dms.wrap90(), Dms.wrap180() to work for all -ve degrees
  • LatLon_OsGridRef: Override super.convertDatum()

Added

  • LatLonEllipsoidal_Vincenty.intermediatePointTo()
  • Extra type-checking (LatLonEllipsoidal_Vincenty.direct, LatLonNvectorSpherical.isEnclosedBy)
chrisveness
published 2.2.1 •

Changelog

Source

[2.2.1] - 2020-04-22

Fixed

  • Coerce textual lat/long to numeric in latlon-spherical
  • Return crossTrackDistance / alongTrackDistance of 0 when 'this' point equals start point
  • Round UTM to nm rather than (erroneous) μm
  • Fix (rare) rounding error issue in intersection() [#71]
  • Fix (edgecase) gross error in MGRS -> UTM conversion [#73]
  • Return 0 rather than NaN for cross-track / along-track distance of coincident points [#76]
  • Remove tests from published package
chrisveness
published 2.2.0 •

Changelog

Source

[2.2.0] - 2019-07-08

Fixed

  • Fix vincenty inverse calculation for antipodal points
  • Provide convertDatum() method on a LatLon obtained from Utm.toLatLon()

Added

  • Option to override UTM zone in LatLon.toUtm(), option to suppress UTM easting/northing checks
  • ETRS89 datum (≡ WGS84 @ 1m level)
chrisveness
published 2.1.0 •

Changelog

Source

[2.1.0] - 2019-06-03

Added

  • Latlon-ellipsoidal-datum.js:Cartesian_Datum.convertDatum()

Deprecated

  • datum parameter to latlon-ellipsoidal-datum.js:Cartesian_Datum.toLatLon()
chrisveness
published 2.0.1 •

Changelog

Source

[2.0.1] - 2019-04-10

Fixed

  • Add missing n-vector spherical alongTrackDistanceTo() method
  • Add missing .toUtm() method to LatLon object returned by Utm.toLatLon()
  • Fix n-vector spherical isWithinExtent() for point in different hemisphere
  • Fix vector3d angleTo() for case where plane normal n is in the plane
  • Rationalise/harmonise exception messages

Added

  • README ‘docs’ badge with link to documentation
chrisveness
published 2.0.0 •

Changelog

Source

[2.0.0] - 2019-02-14

Changed

  • Restructured to use ES modules, ES2015 syntax
  • Separated n-vector functions into spherical / ellipsoidal
  • General rationalisation of API

Added

  • Modern terrestrial reference frames (TRFs) to complement historical datums
  • LatLon.parse() methods
  • latlon.toString() numeric format ‘n’

Breaking

  • LatLon is now a class, so the new operator is no longer optional on the constructor
  • latlon.bearingTo() is now latlon.initialBearingTo()
  • latlon.toString() defaults to ‘d’ in place of ‘dms’
  • LatLon.ellipse, LatLon.datum are now LatLon.ellipses, LatLon.datums
  • Dms.parseDMS() is now simply Dms.parse()
  • Dms.toDMS() is now Dms.toDms()
  • Dms.defaultSeparator (between degree, minute, second values) defaults to ‘narrow no-break space’ in place of no space
chrisveness
published 1.1.3 •

chrisveness
published 1.1.2 •

chrisveness
published 1.1.1 •

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc