Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternatives to Google Directions API [closed]

Which is the best alternative (if any) to the Google Directions API?

Preferrably, it should be some solution I can host, but I can consider to use an online service less restritive than Google API. These are the limits for Google Directions Business:

Google Maps API for Business customers may query up to 100,000 directions requests per day, with up to 23 waypoints allowed in each request.

UPDATE

Besides these limitations, which can be negotiated with Google, I would like to have an alternative because it's a good pratice don't put all eggs in one basket :)

In the absence of somebody with a opinion strong enough to share, these two services seem to be good choices:

  • Here Maps
  • MapLink
like image 903
Uilian Avatar asked Feb 11 '15 15:02

Uilian


2 Answers

One replacement for Google Directions API is GraphHopper. It is a routing engine written in Java which uses OpenStreetMap data. It is Open Source, extremly fast and suitable for self-hosting. You have two options:

  • Embbeded in your Java application
  • Self-hosted as a web service with access via API

You can try it online: https://graphhopper.com/maps/

If you want to know more about embedding GraphHopper in your application you can visit my article at https://bmehner.github.io/graphhopper/

like image 50
Björn Mehner Avatar answered Oct 07 '22 14:10

Björn Mehner


Disclosure : I work for TomTom.

Have you considered our TomTom Maps APIs.

We believe we are the best alternative for Maps APIs. To get directions you can use the Routing API's instructions type parameter :

instructionsType string. If specified, guidance instructions will be returned (if available). Possible values are:

  1. coded: Returns raw instruction data without human-readable messages.
  2. text: Returns raw instructions data with human-readable messages in plain text.
  3. tagged: Returns raw instruction data with tagged human-readable messages to permit formatting.

You can request a free API KEY (No credit card required and no locked-in contracts) and TomTom will allow you to mix and match APIs from different providers.

Check out our tutorials for JS.

like image 20
JJ Rojas Avatar answered Oct 07 '22 14:10

JJ Rojas