Member-only story

How to Create Your own Map backend like Google Map…

Ashish Ranjan
6 min readOct 9, 2021

--

When I heard, first time about OSRM my reaction was “What the hell is OSRM 🤯”

OSRM in Open Source Routing Machine. In simple words, you can create your map application like Google Maps using OSRM (FOR FREE!!)

Why OSRM?

  • Powerful and efficient engine routing machine for solving shortest road tracks.
  • It’s fully open-source and you can host it on your computer without paying for a license

So say bye to google map and create your own map company by using OSRM

What Type of data you would get with OSRM:

  • Nearest: Snaps coordinates to the street network and returns the nearest matches
  • Route: Finds the fastest route between coordinates
  • Table: Computes the duration or distances of the fastest route between all pairs of supplied coordinates
  • Match: Snaps noisy GPS traces to the road network in the most plausible way
  • Trip: Solves the Traveling Salesman Problem using a greedy heuristic
  • Tile: Generates Mapbox Vector Tiles with internal routing metadata

There are two pre-processing pipelines available:

  • Contraction Hierarchies (CH)

--

--

Ashish Ranjan
Ashish Ranjan

Written by Ashish Ranjan

Building Highly scalable and reliable Infrastructure

Responses (1)