MGMLaboratory
Back

Menu

01Home
02About Us
03Projects
04Publications
05Member
06Articles
07Contact

Let's Talk

Open in Mail app

Socials

Malang (ID) --:--Privacy PolicyTerms of Service

January 1, 20211 min read

The Case for Throwing Away Most of Your Route PointsThe Case for Throwing Away Most of Your Route Points

A line simplification step made a map search far faster while keeping useful accuracy.

  • Conference
  • Publications

Written by

  • SRShirasaka RenIT & Infrastructure · Student Member

In this article

  1. 01Simplify before you compute
  2. 02Choosing how much to drop

Storage is cheap, so the instinct with location data is to keep everything. A phone can log a coordinate every second and nobody complains. The complaint arrives later, when some downstream routine has to chew through all of it on a device with a small battery.

Turn by turn apps hide the geometry underneath. Image: DirtyPotatoEditor, CC BY-SA 4.0, via Wikimedia Commons.
Fig. 01Turn by turn apps hide the geometry underneath. Image: DirtyPotatoEditor, CC BY-SA 4.0, via Wikimedia Commons.

01/02

Simplify before you compute

The study applies a classic answer to a modern mobile problem. Before the RouteBoxer grid search runs, the path passes through Douglas-Peucker simplification, which keeps the endpoints and the points that genuinely bend the line, and drops the rest. The surviving points describe the same road with far less detail.

The numbers from the experiment are worth remembering as a benchmark for this class of work.

  • Point count reduced by up to 99 percent
  • Calculation ran up to 87.8 times faster
  • Precision held above 92.6 percent
The search area only needs the broad shape of the route. Image: SatGuide, public domain, via Wikimedia Commons.
Fig. 02The search area only needs the broad shape of the route. Image: SatGuide, public domain, via Wikimedia Commons.

02/02

Choosing how much to drop

Simplification is not free of judgement. Push it hard and the path cuts corners, which shifts the search area away from the real road. Hold back and the performance gain shrinks. That knob is the whole design decision, and the reported precision figure is what makes the trade visible instead of a guess.

For developers working with GPS traces, the habit worth stealing is to treat raw points as one representation of a route rather than the only one. A simplified version is often the right input for a search, while the full trace stays available for playback or analysis. The same path can be served two ways, and each consumer gets what it actually needs.

Source

  1. Aryo Pinandito and Chandrawati Putri Wulandari (2021). Integrating Douglas-Peucker Line Simplification into Routeboxer Algorithm on a Map-Based Android Application. Proceedings of the 5th International Conference on Sustainable Information Engineering and Technology.

    DOI10.1145/3427423.3427446 (opens in a new tab)

Next articleMapping the Journey Before Redesigning a Transit App(Keep scrolling)(Read it next)(Loading)