Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Remove unused dependency on geojson-coords
Browse files Browse the repository at this point in the history
See #113
  • Loading branch information
joto committed Jan 17, 2021
1 parent 18a71c8 commit 7dc72b0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"devDependencies": {
"@turf/difference": "^6.2.0",
"aws-sdk": "^2.828.0",
"geojson-coords": "0.0.0",
"mocha": "^7.2.0",
"osm-testdata": "^1.0.0",
"wellknown": "^0.4.2"
Expand Down
2 changes: 0 additions & 2 deletions test/osm-testdata.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ var assert = require('assert');

var testData = require('osm-testdata');
var wellknown = require('wellknown');
var flat = require('geojson-coords');

// jsts broke node v0.10.x support, so disable for now

Expand All @@ -18,7 +17,6 @@ if (+process.versions.node.split('.')[0] != 0) {
// - they must have the same total number of coordinates
// - a spatial difference operation should leave no remainder
function areasEqual(geom1, geom2) {
// if (flat(geom1).length !== flat(geom2).length) return false;
var diff = difference(geom1, geom2);
return !diff;
}
Expand Down

0 comments on commit 7dc72b0

Please sign in to comment.