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

October 24, 20232 min read

Why Your Map App Quietly Simplifies Every RouteWhy Your Map App Quietly Simplifies Every Route

The shape of the data you feed a routing algorithm matters as much as the algorithm you choose.

  • Conference
  • Publications

Written by

  • SRShirasaka RenIT & Infrastructure · Student Member

In this article

  1. 01Simplification is a design decision
  2. 02What the study measured

Every map you have scrolled through is a compromise. The road data behind it holds far more detail than the screen can show at that zoom level, and something has to decide which points survive.

The same decision sits inside routing. A search algorithm reads the graph it is handed, so an oversized graph means slow answers. That is the problem a 2023 study on navigation efficiency set out to address. Finding the shortest path is easy. Finding it in a wasteful graph is not.

01/02

Simplification is a design decision

The Douglas-Peucker algorithm has thinned out coastlines and borders in cartography for decades. Applied to transit routes it does the same job: keep the points that define the shape of a journey, drop the ones that only add noise.

Routes and networks can be modelled as layered graphs. Image: Martin Grandjean, CC BY-SA 4.0, via Wikimedia Commons.
Fig. 01Routes and networks can be modelled as layered graphs. Image: Martin Grandjean, CC BY-SA 4.0, via Wikimedia Commons.

02/02

What the study measured

  • The team compared route computation on public transport data from Malang City, Indonesia, with and without a simplification step applied first.
  • They tracked computation time and memory use on an Android device, the environment where resources are tightest.
  • Simplified input produced shorter computation times and lighter memory use than the original graph.
A route information board for Malang minivans. Photo: Mujionomaruf, CC BY-SA 4.0, via Wikimedia Commons.
Fig. 02A route information board for Malang minivans. Photo: Mujionomaruf, CC BY-SA 4.0, via Wikimedia Commons.

There is a trade-off to respect. Simplify too aggressively and a route line can cut a corner it should not, which matters when that line is what the user follows on the map. The useful property of Douglas-Peucker is that it is parameterised. You choose how much deviation you are willing to accept.

Minivans waiting at Arjosari terminal, Malang. Photo: Mujiono Ma'ruf, CC BY-SA 4.0, via Wikimedia Commons.

Source

  1. Muhammad Yasir Anshari Haq, Riswan Septriayadi Sianturi, and Aryo Pinandito (2023). Enhancing the Efficiency of Navigation Systems: Dijkstra Algorithm Optimization Through Integration of Douglas-Peucker Line Simplification Technique. Proceedings of the 8th International Conference on Sustainable Information Engineering and Technology.

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

Next articleWhen Social Media Stops Being a Study Tool(Keep scrolling)(Read it next)(Loading)
Fig. 03Minivans waiting at Arjosari terminal, Malang. Photo: Mujiono Ma'ruf, CC BY-SA 4.0, via Wikimedia Commons.

That is the real lesson for anyone building location features. Performance work does not have to mean a faster algorithm or a bigger server. Sometimes it means looking at the shape of the data you are feeding in, and deciding that half of it was never load bearing.