← All tools

GPS Track Simplifier

Cut a GPS track down to the points that carry its shape, with a tolerance you choose in metres.

A GPX file, a GeoJSON LineString, or one “latitude, longitude” pair per line. GeoJSON coordinates are in [longitude, latitude] order.
metres: a point is dropped when it lies within this distance of the simplified line
Press Simplify track to reduce the sample route.

Douglas–Peucker simplification keeps the first and last point and drops every point that lies within the tolerance of the line between its neighbours, then repeats on the pieces that are still too far off. Distances are measured on a flat projection centred on the track's mean latitude, which is accurate for a track within one region but drifts for a route spanning continents. A GPX file is read from its trkpt, wpt and rtept elements; a GeoJSON feature, geometry or coordinate array must hold a single LineString. Cutting corners makes the track shorter, and the length, the point reduction and the largest offset of a dropped point are all reported so you can see what the tolerance costs. Everything runs in your browser with no uploads or network access.