Skip to content

Commit

Permalink
v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisveness committed Apr 10, 2019
1 parent 62ccbfe commit 9c48fa4
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 98 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# Changelog

## [Unreleased]
## [2.0.1] - 2019-04-10

### Fixed

- LatLon object returned by Utm.toLatLon() was missing a .toUtm() method
- 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

## [2.0.0] - 2019-02-14

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Geodesy functions
=================

[![Build Status](https://travis-ci.org/chrisveness/geodesy.svg?branch=v2.0.0)](https://travis-ci.org/chrisveness/geodesy)
[![Coverage Status](https://coveralls.io/repos/github/chrisveness/geodesy/badge.svg?branch=2.0.0)](https://coveralls.io/github/chrisveness/geodesy?branch=2.0.0)
[![Build Status](https://travis-ci.org/chrisveness/geodesy.svg?branch=master)](https://travis-ci.org/chrisveness/geodesy)
[![Coverage Status](https://coveralls.io/repos/github/chrisveness/geodesy/badge.svg?branch=master)](https://coveralls.io/github/chrisveness/geodesy?branch=master)
[![Documentation](https://img.shields.io/badge/docs-www.movable--type.co.uk%2Fscripts%2Fgeodesy--library.html-lightgrey.svg)](https://www.movable-type.co.uk/scripts/geodesy-library.html)

These libraries started life (a long time ago) as simple ‘latitude/longitude’ code fragments
Expand Down Expand Up @@ -94,7 +94,7 @@ example,
```html
<!doctype html><title>geodesy example</title><meta charset="utf-8">
<script type="module">
import LatLon from 'https://cdn.jsdelivr.net/gh/chrisveness/[email protected].0/latlon-spherical.min.js';
import LatLon from 'https://cdn.jsdelivr.net/gh/chrisveness/[email protected].1/latlon-spherical.min.js';
const p1 = new LatLon(50.06632, -5.71475);
const p2 = new LatLon(58.64402, -3.07009);
Expand Down
115 changes: 22 additions & 93 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,9 @@
"type": "git",
"url": "https://github.com/chrisveness/geodesy"
},
"keywords": [
"geodesy",
"latitude",
"longitude",
"distance",
"bearing",
"destination",
"haversine",
"vincenty",
"rhumb",
"ellipsoid",
"datum",
"reference frame",
"TRF",
"wgs84",
"utm",
"mgrs"
],
"keywords": [ "geodesy", "latitude", "longitude", "distance", "bearing", "destination", "haversine", "vincenty", "rhumb", "ellipsoid", "datum", "reference frame", "TRF", "wgs84", "utm", "mgrs" ],
"author": "Chris Veness",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"engines": {
"node": ">=8.0.0"
Expand All @@ -40,11 +23,11 @@
"devDependencies": {
"babel-eslint": "^10.0.1",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"eslint": "^5.13.0",
"esm": "^3.2.5",
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"esm": "^3.2.22",
"jsdoc": "^3.5.5",
"mocha": "^6.0.0",
"mocha": "^6.1.2",
"nyc": "^13.3.0"
},
"eslintConfig": {
Expand All @@ -61,85 +44,31 @@
"should": true
},
"rules": {
"array-bracket-spacing": [
"error",
"always"
],
"comma-dangle": [
"error",
"always-multiline"
],
"comma-spacing": [
"error"
],
"curly": [
"error",
"multi-line"
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"key-spacing": [
"error",
{
"align": "value"
}
],
"keyword-spacing": [
"error"
],
"array-bracket-spacing": [ "error", "always" ],
"comma-dangle": [ "error", "always-multiline" ],
"comma-spacing": [ "error" ],
"curly": [ "error", "multi-line" ],
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"key-spacing": [ "error", { "align": "value" } ],
"keyword-spacing": [ "error" ],
"no-case-declarations": "warn",
"no-console": [
"warn",
{
"allow": [
"error",
"info"
]
}
],
"no-console": [ "warn", { "allow": [ "error", "info" ] } ],
"no-irregular-whitespace": "warn",
"no-redeclare": "warn",
"no-shadow": "warn",
"no-unused-vars": "warn",
"no-var": "error",
"object-curly-spacing": [
"error",
"always"
],
"object-curly-spacing": [ "error", "always" ],
"prefer-const": "error",
"quotes": [
"error",
"single",
"avoid-escape"
],
"semi": [
"error",
"always"
],
"space-before-blocks": [
"error",
"always"
],
"space-in-parens": [
"error"
],
"strict": [
"error",
"global"
]
"quotes": [ "error", "single", "avoid-escape" ],
"semi": [ "error", "always" ],
"space-before-blocks": [ "error", "always" ],
"space-in-parens": [ "error" ],
"strict": [ "error", "global" ]
}
},
"jsdoc": {
"plugins": [
"plugins/markdown"
],
"markdown": {
"idInHeadings": true
}
"plugins": [ "plugins/markdown" ],
"markdown": { "idInHeadings": true }
}
}

0 comments on commit 9c48fa4

Please sign in to comment.