geojson-tidy icon indicating copy to clipboard operation
geojson-tidy copied to clipboard

Filter out noisy points from an input geojson lineString

Results 6 geojson-tidy issues
Sort by recently updated
recently updated
newest added

I have a trace I'd like to simplify -- see here [gist](https://gist.github.com/sbma44/ae42ffff66a8ea957c1a) When I specify a sample rate other than the input (1s), only two points are returned [gist](https://gist.github.com/sbma44/78a59b62aef247951f76) If...

The reason behind it is that the algorithm only compares the current point to the next one, not to the last tidied one. For simplification, I therefore suggest using `simplify-geojson`

Why is this recommended by Mapbox to clean up the input for the map matching API when this is for GeoJSON but the map matching API does not accept geoJSON....

Currently the library discards all properties except coordTimes. We would need to preserve them by default.

The readme should specify exactly which input and output formats exist. Is `coordTimes` a universally accepted property or something we came up with?

- Updated the min distance/time filtering logic to check each point relative to the last kept point, rather than the previous point in the input list. This previous behaviour could...