Comparing version 1.1.0 to 1.1.1
@@ -6,6 +6,2 @@ // Generated by CoffeeScript 1.8.0 | ||
exports.rad = Math.PI / 180; | ||
exports.deg = 180 / Math.PI; | ||
exports.pointDistance = function(p1, p2) { | ||
@@ -50,1 +46,5 @@ var a, c, Δλ, Δφ, φ1, φ2; | ||
}; | ||
exports.rad = Math.PI / 180; | ||
exports.deg = 180 / Math.PI; |
{ | ||
"name": "geoutil", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Geographic formulas and geospatial transformations", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -16,2 +16,4 @@ Geoutil for Node.JS [![Build Status](https://drone.io/github.com/Turistforeningen/node-geoutil/status.png)](https://drone.io/github.com/Turistforeningen/node-geoutil/latest) | ||
Get the distance in `meters` between two points. [Technical details](https://github.com/Turistforeningen/node-geoutil/blob/master/src/index.litcoffee#pointdistance) | ||
```javascript | ||
@@ -27,2 +29,4 @@ var pointA = [ 60.39826, 5.32907 ]; | ||
Get total distance in `meters` for polyline. [Technical details](https://github.com/Turistforeningen/node-geoutil/blob/master/src/index.litcoffee#linedistance) | ||
```javascript | ||
@@ -43,2 +47,4 @@ var line = [ | ||
Get total area in `meters`^2 for polygon. [Technical details](https://github.com/Turistforeningen/node-geoutil/blob/master/src/index.litcoffee#polygonarea) | ||
```javascript | ||
@@ -53,6 +59,8 @@ var polygon = [[ | ||
]]; | ||
geoutil.polygonArea(poly); | ||
// 40.43198051882604 | ||
``` | ||
## [MIT License](https://raw.githubusercontent.com/Turistforeningen/node-geoutil/master/LICENSE) | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5291
63