GraphHopper Directions API is a routing web service designed to find the best route between two or more locations based on OpenStreetMap data. It provides worldwide coverage and suggests routes to take by car, bicycle, or foot. For every route even the elevation data can be included.
The GraphHopper Directions API consists of the time-dependent Route Optimization API, Routing API, Geocoding API and more.
Besides point to point routing more complex requirements can be satisfied via the route optimization API, which makes it possible to do fast optimization of the itineraries of salesman, sightseeing tours or the routes for vehicles that do delivery important in logistics or for taxi and tourism applications.
Additional to routing a Geocoding API, an Isochrone API and a special Matrix API is provided for an efficient way of calculating distance matrices.
The GraphHopper API enables users to integrate this information into their own applications.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The Graphhopper Java Sample Code by Graphhopper presents how API communication can access routing and logistics features to get from point A to B. Solution API test and Vrp API test are available on GitHub.