-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* compare to last selected point rather than last input point to fix filtering bug * set minimum time/distances to 0 * remove logging * mock Math.random() and explicitly set filters * update test files to match new logic * update test comment * update test comment * remove unneeeded comment block * fix slice index * remove unneccessary statements * remove test curl command * speed up random selection step and update test accordingly * bump version number * add RC tag * npm pkg fix * update version number to 2.0.0
- Loading branch information
Showing
6 changed files
with
1,996 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"name": "@mapbox/geojson-tidy", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "tidy up a geojson input by filtering out noisy point clusters", | ||
"main": "geojson-tidy.js", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:mapbox/geojson-tidy.git" | ||
"url": "git+ssh://git@github.com/mapbox/geojson-tidy.git" | ||
}, | ||
"scripts": { | ||
"test": "tape test/test.js", | ||
|
@@ -37,4 +37,4 @@ | |
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1 @@ | ||
{ | ||
"type": "FeatureCollection", | ||
"features": [{ | ||
"type": "Feature", | ||
"properties": { | ||
"coordTimes": ["2015-06-05T01:07:54Z", "2015-06-05T01:08:57Z", "2015-06-05T01:10:55Z", "2015-06-05T01:15:50Z", "2015-06-05T01:22:12Z", "2015-06-05T01:24:15Z", "2015-06-05T01:26:30Z", "2015-06-05T01:27:25Z", "2015-06-05T01:27:32Z", "2015-06-05T01:28:21Z"] | ||
}, | ||
"geometry": { | ||
"type": "LineString", | ||
"coordinates": [[-77.024365, 38.908573, 28], [-77.021984, 38.908354, 27.4], [-77.019947, 38.906015, 26.2], [-77.019874, 38.898852, 11.7], [-77.022118, 38.889388, 4.6], [-77.024836, 38.887695, 8.3], [-77.02998, 38.887682, 10.8], [-77.031757, 38.887988, 11], [-77.031771, 38.888176, 10.6], [-77.031786, 38.889507, 7.4]] | ||
} | ||
}, { | ||
"type": "Feature", | ||
"properties": { | ||
"coordTimes": ["2015-06-05T01:28:21Z", "2015-06-05T01:30:35Z", "2015-06-05T01:30:42Z", "2015-06-05T01:31:16Z", "2015-06-05T01:35:38Z", "2015-06-05T01:37:54Z", "2015-06-05T01:41:18Z"] | ||
}, | ||
"geometry": { | ||
"type": "LineString", | ||
"coordinates": [[-77.031786, 38.889507, 7.4], [-77.032016, 38.893607, 2.7], [-77.032047, 38.893811, 3], [-77.032148, 38.894888, 3.6], [-77.026997, 38.898782, 12.2], [-77.027081, 38.902667, 21.1], [-77.02621, 38.908486, 28.8]] | ||
} | ||
}] | ||
} | ||
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"coordTimes":["2015-06-05T01:07:54Z","2015-06-05T01:08:04Z","2015-06-05T01:31:33Z","2015-06-05T01:08:15Z","2015-06-05T01:25:55Z","2015-06-05T01:08:22Z","2015-06-05T01:37:10Z","2015-06-05T01:08:31Z","2015-06-05T01:28:39Z","2015-06-05T01:41:18Z"]},"geometry":{"type":"LineString","coordinates":[[-77.024365,38.908573,28],[-77.024058,38.908524,27.8],[-77.032088,38.895295,3.7],[-77.023777,38.908523,27.8],[-77.02856,38.887663,10.1],[-77.023494,38.908562,28],[-77.026926,38.901276,16.8],[-77.023017,38.908507,28.1],[-77.031771,38.890055,6.2],[-77.02621,38.908486,28.8]]}}]} |
Oops, something went wrong.