I'm building a routing service in Java with routing tools like graphhopper for generating routes between points, and jsprit for vehicle routing problems embedded in app through Maven. We are currently using Google Maps API for maps (Places API, Geocoding API, Directions API & Distance Matrix API). BTW: you are probably doing the map matching not correct. Isochrone Calculation – provides you with the area that can be reached from a specific location in a given time frame, based on the method of travel (for example, how far you can travel on a bike in. View GraphHopper on Github. graphHopper = new GraphHopper (). Distance Matrix API 2019 This document will guide you through the different request and response parameters of MapmyIndia’s Distance Matrix API and how you can extract data analogous to Google Distance Matrix service from MapmyIndia Distance Matrix API. A low level access to route information offers our Matrix API. Feel free to contact us via Email and send me the request or the time you sent it. By definition, an object’s distance from itself, which is shown in the main diagonal of the table, is 0. add the time and distance of every instruction until you observe the sign==5 (VIA_REACHED) then you have the information of the first leg, then do it again and for the last leg do it again until sign==4 (FINISH) is observed. M(S) = [ 2 −3 1 −2]. With the matrices that I use give me some very small mobilization times and the route is very tangled. So, the free usage of the API in a company internally would not be allowed. We currently cache the Graphhopper response between two locations, so the next time we try to get the same costs we get the cached version. 100B+ API requests per year. This is the function I've made for the Google Distance Matrix API:. if you want the travel-distance (which takes in account different types of roads, traffic jams, etc. getMillis() : they are always lower than the values provided by google maps or bing. The Bing Maps Distance Matrix API provides travel time and distances for a set of origins and destinations. If M * N * K > threshold, algorithm uses a Python loop instead of large temporary arrays. it calculates all the distances between every point combination. You can try the examples on GraphHopper Maps. Sincerely, HenningRouters. Start for free Get a demo. When you sign up you get a free standard package for 2 weeks. 1 Answer. E. . This is done using the Xmx flag, e. There is an experimental navi branch that implements turn-by-turn navigation directly in the browser. A direction matrix API, such as Google Maps Directions API, provides turn-by-turn directions between two or more points. Comes with a JS demo and a Java client . To install GraphHopper with this feature on your own server download the JDK, the routing server, the configuration file and the. You can specify several options, including mode of transportation, such as driving, biking, transit or walking, as well as transit modes, such as bus, subway, train, tram, or rail. A service for computing distances between multiple origins and destinations. First, the API calculates a travel time and distance matrix between all customers, resulting in a 490 x 490 matrix. ### Description The Matrix calculates the well known distance-matrix for a set of points, i. The Distance Matrix API is used to calculate the distance and time between two or more points. It uses OpenStreetMap data, but can import other data sources as well. routingpy currently includes support for the. if you need to know how long a straight line between two locations is, you can easily calculate that without doing a request (use google. A profile is defined by a vehicle, its turn restrictions and a custom model. Thus, we received expensive bills from Google Cloud following the number of requests. To get this, you would need to specify the departureTime to now as given in the example from the doc: drivingOptions: { departureTime: new Date (Date. All maps available through maptiles are offered freely by various providers. threshold positive int. Route Optimization API, The Route Optimization API provides everything you need to solve a variety of vehicle routing problems, including the classical “traveling salesman problem”. Several options are available to customize the models, for example it is possible to refine the distance friction functions or to use custom distance matrices. csv in the repo), and below it the code required to import it using pandas. With the Distance Matrix API, you can provide travel distance and time for a matrix of origins and destinations. google-distancematrix-api. text and response. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects. A new version of the cartography package (v2. Calculate travel times for website search. But I worry about my example flooding your server (which would make me a bad citizen). I need a developer that can create a first table using "Graphhopper opensource distance Matrix API", its OpenStreetMap — Example: [login to view URL] Once it's created that matrix, I need to export a second table (sreenshot attached) that gives all postal codes related to each postal code in a max of 20km, and ordered by distanceThe adjacency matrix represents the presence or absence of an edge connecting two vertices, while the distance matrix represents the shortest path between two vertices. I wish to visualize this distance matrix as a 2D graph. Add the following code to your map. 236 0The graph distance matrix, sometimes also called the all-pairs shortest path matrix, is the square matrix (d_(ij)) consisting of all graph distances from vertex v_i to vertex v_j. The _get_distance function does the same steps as the _get_chance_of_rain function. Other available provider endpoints are allowed and generally encouraged. It’s still not clear how you can run the map-matching functionality from the command line in the main graphhopper project without running the web module and POST ing to it. 2. We provide free code samples, developer documentation, and even a lively forum to flatten the learning curve and speed up development cycles. - GitHub - moiarcsan/smartcity-distance-matrix: Project to calculate a distance matrix based on graph hopper engine. A route planner user interface for the GraphHopper routing engine released under the Apache License 2. . The default here is "min": "transport_time" (see “objectives” in our documentation). It is a web service based on one of our open source components. com 1. route-, time- or distance-matrix should be calculated. 0, you need to build the whole project and then invoke the /match endpoint. Thus it will definitely handle the load of your queries. You caWe bring you the best of industry knowledge through a variety of informational blog posts and articles on the next-gen technologies. Alternatively, you can click the 'Create Case' button at the top of the Google Maps Platform Support page. The GraphHopper Directions API is a collection of routing related APIs: like the Routing API, the Matrix API, the Route Optimization API and the Geocoding API. The distances and times returned are based on the routes calculated by the Bing Maps Route API. Learn More The Map Matching API is part of the GraphHopper Directions API and with this API you can snap measured GPS points typically as GPX files to a digital road network to e. The Routing API is a powerful A-to-B routing service for many vehicle types: cars, trucks, bikes, walking, and more. It’s still not clear how you can run the map-matching functionality from the command line in the main graphhopper project without running the web module and POST ing to it. Kattylu July 18, 2017, 1:49pm #1. Features-routingpy. The distance matrix for the specified points in the same order as the time matrix. Now calculate all travel times between all locations (A to B, A to C, B to A, B to C,. Here, we create 8 random real world problems of different size in the city of Berlin. The new GraphHopper Maps shows alternative routes as well as useful information like the border crossing hint or additional information. See the updated blog post with several examples. Distance Matrix request and responses. I modified the core code (than I run before the commmand) as follows: #' Compute map distances using Google #' #' Compute map distances using Google Maps. I try this sample url Sample URL This url displays the route on map with total time/distance of 1 hour 9 min 110. Get the travel distance and time for a matrix of origins and destinations. Related terms: Permutation; Traveling Salesman Problem. A sábado, 18/04/2020, 02:47, Greg Schaaf via GraphHopper Forum discuss-management@graphhopper. A few things I can say about the ones I've used: OSRM is significantly faster than Graphhoper for large queries because it supports matrix calls while Graphhopper does not (in opensource format). Map data from OpenStreetMap. Regarding this, what is the fastest way to calculate the distance between two points? eg. Based on OSM data and very fast. In the example above, routes for each pair of locations can be good enough, but locations visit order is not optimal. g. 6 1 I will get a graph in which A are connected to C but not to B ,B are connected to C , and C are connected. /// @details It uses an array of locations and computes /// the Euclidean distance between any two locations. GraphHopper: Google Maps: Free request/month :. The Distance Matrix API web service returns results as rows array where each row item corresponds to one origin from origins parameter in request and the order is preserved as in the original request. Which Minkowski p-norm to use. A total of 5 million samples are collected. for each vertex i: initialize an nxn matrix M run breadth-first search starting at i copy distances into row i of M return M. The larger distance_influence is the more GraphHopper will prioritize routes with a small total distance. Google Distance Matrix API has a limit of elements set to 2500. We offer the Matrix API as part of our commercial GraphHopper Directions API, yes. 62 miles (1 km) when using the distance matrix API. Whenever I make use of PostMan it returns properly. DistanceMatrixService class. google. Try it out! Turn-by-Turn navigation. p float, 1 <= p <= infinity. go to Settings -> Build,Execution,Deployment -> Compiler -> Java Compiler and disable: Use '--release' option for cross compilation (java 9 and later). 0. pbf files on a daily basis. Make sure it is not a different problem and you use the POST request, very important for a matrix of this size also as the request could be gzipped. In order to use it you’ll need an API key which you can set up by following these directions. Distance matrices can be calculated. A cross-comparison of the various. It is available as a command-line tool or as a web server that can. It tells GraphHopper to suppress the instructions and the waypoints which speeds up the calculation to some extend. routingpy currently includes support for the following services: Mapbox, either Valhalla or OSRM; Openrouteservice; Here Maps; Google Maps. 400 c/m for the standard package and 100 c/m for the basic package. The documentation says number of elements is origins x destinations. A sample HTTP request is shown below, requesting distance and duration from Vancouver, BC, Canada and from Seattle,. the GraphHopper Route Optimization API uses the Matrix API under the hood to achieve this. Matrix. Ashwin February 5, 2019, 1:16pm Plan routes and get driving directions from GraphHopper Maps using open source and open data 6. On Monday we released version 0. Designed for the server, desktop, as well as for mobile devices. Creating a symmetric distance matrix is always a pain point and I’m trying to think up ways to minimize it. 162 2. java","path":"example/src/main. Distance Matrix API. Click on the produced links to see the actual route on GraphHopper Maps. 1 km Questions: 1 - where can I find documentation for this url parameters (layer/point/profile etc. GraphHopper Forum Add new Customer Distance Matrix. route-, time- or distance-matrix should be calculated. scipy. 4. At the moment our customers either have no turn-by-turn navigation or rely on third party apps like Google Maps or devices from TomTom. What I would like to do next is to use graphhopper to answer shortest path requests. Ignoring these errors in the data can lead to false analyses and misleading conclusions. It supports several modes of transport like car, bike, hiking, walking and more. those things necessarily limit just how elegant it is that GraphHopper can otherwise make the. inside an if-statement. So, for your purpose, firstly, you need to prepare a time/distance matrix for each time period: e. This example requests the distance matrix data between Washington, DC and New York City, NY, in JSON format: Try it! Test this request by entering the URL into your web browser - be sure to replace YOUR_API_KEY with your actual API key . 1. google-maps-api-3. This is useful for route optimization. Disclaimer: We updated the format for custom models. Travel times and distances depend on the. You can use the Distance Matrix API to help determine the most efficient travel routes between multiple possible origins and destinations. It refers to matching the recorded points to a representation (usually in the form of a graph) of a road network. To see the road routing feature of GraphHopper in action please go to GraphHopper Maps. attr: String, the name of the edge attribute to be used as distances along the edges. To run the map-matching functionality in 3. 4 JSON Nested Elements Undefined. Peter | 22. spatial package provides us distance_matrix () method to compute the distance matrix. The data consists of: distance_matrix: An array of distances between locations on meters. Because there are lots of points, it means that more than likely, the points are relatively clumped together. g. 2. distance. Each query sent to the Distance Matrix API is limited by the number of allowed elements, where the number of origins times the number of destinations defines the number of elements. Theorem 2. To see the road routing feature of GraphHopper in action please go to GraphHopper Maps. ; num_locations: The number of locations. Feb 8, 2017 at 20:28. Remark 3. For example if i have the following distance matrix : A, B, C A 1 0. 0. Thus, we received expensive bills from Google Cloud following the number of requests. Optimizing trips and delivery for suppliers and distributors. I need to calculate the distance between two points in a map in the same way as Google Maps' distance matrix and get direction APIs. However when the results are returned they've changed these to addresses,. maps. The potential package provides functions to compute potential models as defined by John Q. Learn more about TeamsUltimately, based on the code above, the line var results = response. Please consider the billing structure before using the service. Nevertheless, it has a low latency of the response. If you set this value too small the. The SLA is 99. Google Maps API Distance Matrix Explained. 6. Say you’d like to perform a simple distance. getPoints (); double. 7 0. With the GraphHopper Directions API it is easy to calculate the route from A to B including multiple intermediate waypoints. I'm new in use map GraphHopper, OpenStreetMap, and others library. To associate your repository with the distance-matrix topic, visit your repo's landing page and select "manage topics. To get distances you'll have to call regular route service for each pair of coordinates (hours). Note: We do not want to use Bing maps Distance matrix because it is not in our bing maps license. g. dart open-source geocoding maps api-wrapper api-rest elevation-data isochrones flutter optimizations hacktoberfest pois ors directions-api dart-library. Our customers often use the Route Optimization API to get an optimized order of many deliveries. I did resolve this. rows[0]. The following. Let us assume that there are two "distinct" n-vertex graphs G and G' which realize the distance matrix D. It includes information such as the distance, estimated travel time, and the route to. maps. Long time is being hardly seen when matrix size goes beyond 2000x2000. Once you got the GPS coordinates of all your locations you can calculate the distances using the Matrix API: Documentation - GraphHopper Directions API 22s. txt", String] graph = Rest [graph]; Then I extracted the distances by cleaning up the text and splitting at spaces or commas: Matrix of M vectors in K dimensions. Using publicly available map data from OpenStreetMap it can calculate the optimal route for a given source-target pair for many different vehicles and flexible optimization criteria. routingpy. The Matrix API calculates distances or times between many locations E. A 1000×1000 matrix can now be determined in 8 seconds rather than 2. Map Matching API; Isochrone API; Matrix API; Important to say that not all of the above mentioned APIs are available for free when you start GraphHopper from its sources. The destination is a fixed location that represents the input of my commute. TypeScript JavaScript CSS HTML. 946035 Result(KM): 30. ai API is contributing to a new type of future mobility from Turnn. You also get some additional routing tools, such as Matrix API. It is defined in a similar way as the adjacency matrix. If the points ,,. Access by calling const {DistanceMatrixService} = await google. api navigation osrm routing python3 mapbox spatial-analysis osrm-backend isochrones heremaps valhalla graphhopper distance-matrix openrouteservice. We’ve also taken the usage limits to calculate how long it would take to get the required amount of data. Please let me know if there is any way to do it online or in programming languages like R or python. We were able to exclude a hardware problem and our first thoughts were that it had something to do with the type of the physical RAM but this was only an unlucky coincidence as we found other servers with a different RAM vendor that showed the. value for precision distance. This makes it easier to get the time, distance and the geometry per “leg”. E. Using predicted traffic and support for various modes of transportation, the Distance Matrix API can optimize map routing performance in many-to-many scenarios, which can. Matrix of N vectors in K dimensions. setGraphHopperLocation (workDir. (See [91]. With it you can calculate times and distances between dozens of locations very fast. Isochrone Calculation – provides you with the area that can be reached from a specific location in a given time frame, based on the. Azure Maps supports calculating distance matrices for the following travel modes: bicycle. For a long time, our GraphHopper Directions API offered routing profiles for different modes of travel like driving by car, bike, different sizes of trucks, or pedestrian walking. 今回は、Google Maps Platformの中でも「ルート」に分類される「Distance Matrix API」を使用しています。A distance matrix contains the distances computed pairwise between the vectors of matrix/ matrices. Raja Tamil. rows[0]. 14); a. Please let me know if there is any way to do it online or in programming languages like R or python. It can use this open source routing engine or the GraphHopper Directions API , which provides the Routing API, a Route Optimization API (based on jsprit ), a fast Matrix API. 'GraphHopper' <The first startup of GraphHopper can take quite long, because it loads and precomputes index files. I’m talking problems with more than 1000 points. I'm tyring to use Networkx to visualize a distance matrix. 1 miles (5 km) as opposed to 0. It runs server side, offline on Android and iOS. Stewart. The Bing Maps Distance Matrix API provides travel time and distances for a set of origins and destinations. Hello, I would like to know which is the best option to use the matrix of time and distance. In this article, using the well-known Ramsey's theorem, we prove that for each integer k ≥ 2, there is a finite amount of graphs whose distance matrices have. The first thing you need to do when using larger maps is increasing Java’s heap size. The response shows the distance and duration between the. To associate your repository with the distance-matrix topic, visit your repo's landing page and select "manage topics. function initMap(): void {. Plan routes and get driving directions from GraphHopper Maps using open source and open data1 Answer. My understanding is that I can do this. It is even more performant than the existing Directions and Distance Matrix APIs, and provides features that allow you to make tradeoffs between comprehensive accuracy and reduced latency. I am autofilling an input field with the below which gives me distance. It can use this open source routing engine or the GraphHopper Directions API, which provides the Routing API, a Route Optimization API (based on jsprit), a fast Matrix API and. 251953', '47. com escreveu: karussell April 18, 2020, 1:33pm 9 How to. E. You can request these kinds of distance data:. To get the distances between any two vertices of an unweighted graph, you can use breadth first search. Routing API. , are in. Your "distance matrix" does not satisfy the triangle inequality. Matrix Calculations – provides you with very fast time and distance matrices. Returns: result (M, N) ndarray. Make sure node and npm are installed. We decided to make it free for development purposes and Open Source projects, both with a limit of currently 500 queries per day. Follow. Others had many issues. I wrote the following code but it does not look like the resulting network takes the distance matrix into account at all. of 5 points, I have to add the following; 0, 1, x 0, 2, x 0, 3, x etc. GraphHopper provides built-in vehicle types that cover some standard use cases, which can be modified by a custom model for fine-grained control over GraphHopper's road prioritization to e. Some ideas I had so far: Use an API. y (N, K) array_like. Also note that the distance values returned in this API are "8 mi", "12. 0 Released. You can use. For example, if you specify 5 points then 5*5-5 travel time values are calculated – this is done using our fast Matrix API which is way faster than the sum of individual point-to. Google Maps Platform を使用して複数の場所をプロットすると、最寄りのマーカーを視覚的に確認することができます。さらに Distance Matrix API を使用することで一度に多くの距離を決定することができます。Using the Wasserstein distance as described in §2(a), we can take a collection of maps and form a distance matrix D ∈ R N × N, where D a b is the Wasserstein distance between normalized chlorophyll maps a and b. The Time Filter – Advanced tool parameter window, completed. The distance that we see as an output is 3246 metres which is around 3. here I think you should look at the full response to understand how Google API provides the requested query. e. questions tags users badges unanswered ask a question. Distance matrices are sometimes called. Of those, I've used Graphhopper and OSRM extensively, but none of the others. The biggest disadvantage in this case is the mismatch of estimated time of. Let A be an N × N adjacency matrix of a given undirected network in which Aij = 1 if the node i connects to the node j and Aij = 0 otherwise. It can handle vehicle routing problems complicated by your business-specific side constraints. Above these matrix sizes, it is not free, you have to update to Pro plan ($449/month or 449€/month). Classic maps client. For debugging you can use the custom model editor in GraphHopper. So the distance from 1 city A to another non-nearby city B, can be calculated by the distance of cityA -> hubX -> hubY -> cityB. 2 Date 2021-02-06 Maintainer Stefan Kuethe <[email protected] now support turn restrictions for our hosted Routing, Isochrone and Matrix APIs on our world-wide routing instances at no additional cost. answered 26 Mar '15,. com point = ['47. With this app, you can easily access location-based information such as country, city, street, reverse geocode, street number, latitude, longitude, and travel distance and time for a range of origins and destinations. ) ? 2 - is there any parameter that will output the url into xml or any other file with 1 hour 9 min 110. 0 Google Distance Matrix Api React Js Cant Set Distance To The State. It can make use of different algorithms such as Dijkstra, A* and Contraction Hierarchies. origins=Fortis Medical Clinic, Sector 110, Noida, Uttar Pradesh 201304 destinations=Domino's Pizza, C 2/22, Sector 18, Noida, UP 201301 mode=driving. 9 miles away. Like Google Distance Matrix API. questions tags users. GraphHopper is a fast and memory efficient open source routing library and server written in Java. Save up to 90% on your distance matrix API cost. How to use it To use the script, you will need to setup a. Get travel time between two addresses using The Google Maps Distance Matrix API. The other packages implement a fair usage limit. You can use it to snap measured GPS points to a digital road network to e. Thanks for your reply. " GitHub is where people build software. stefanholder mentioned this issue on Jan 12, 2017. Can one actually find public transport links between various GeoCoordinates. In this case the sta from_point = [] # str | The starting points for the routes. g. For example, if you specify 5 points then 5*5-5 travel time values are calculated – this is done using our fast Matrix API which is way faster than the sum of individual point-to. A Freemium account can request only small matrices from the Matrix Routing API, up to 15x100 matrix sizes and up to 100x1. And with a dedicated in-house data team. A distance matrix of this “small” size should not take this long. Get the travel distance and journey duration for a matrix of origins and destinations. You can then access travel time and distance using response. 22. With the two newly created address tables, we can open ArcGIS Pro and create a new, empty project where we add both tables to the table of contents. txt" in my working directory. How do I map the locations of each service to the distance matrix because I am providing both the distance matrix as well as the location for each Service. GraphDistanceMatrix is also known as the shortest path matrix. const bounds = new google. 5 km) and in some cases as much as 3. Query POIs along your route, perform accessibility. It also offers several features enhancing the graphic presentation of maps like cartographic palettes, layout elements (scale, north. I found out that when R package"igraph" calculate closeness (sum of distances) of a disconnected graph, it. Now I can go to localhost:898 and see a picture of the map of berlin. In particular, the determinant of exponential distance matrix for uniform block graphs can be derived from Theorem 3. This is why we added some hints to the request in the example above. If the API is not listed, enable it:If you’re using Java code, the documentation shows how to iterate over every turn instruction and get its properties: // use the best path, see the GHResponse class for more possibilities. I'm talking specifically about the quota of type elements per minute per user. From: Handbook of Numerical Analysis, 2019. This can be done via graphhopper iteratively but is slow. ai provides a Distance Matrix AP. Even though you use AWS, you can still use Google services/GCP or other platforms. If G is an n-vertex realization of D without redundant elements, then G is unique. Google Maps Distance API is undefined in react. Returns: result (M, N) ndarray. Maps Platform Distance matrix API Accurate, affordable distance and matrix APIs. This would be currently only possible via the information available in the instructions. The Matrix API calculates distance and time matrices quickly, determining raw speed and distance information from the underlying road network. 🌎 Python library to access all public routing, isochrones and matrix APIs in a consistent manner. TravelTime API is more cost-effective than the Google Distance Matrix API for calculating large matrices of travel times at once. Querying the Distance Matrix API. Which Minkowski p-norm to use. To install GraphHopper with this feature on your own server download the JDK, the routing server, the configuration file and the OpenStreetMap data: Now […] Make a distance matrix request. Thus, we received expensive bills from Google Cloud following the number of requests. See the example below and the first leg is from Schwarzkollm (start) to Bröthen (via point) and the second leg is from […] Hello, I would like to know which is the best option to use the matrix of time and distance. Basically, every city knows it's nearby cities and it's nearby hubs (= highway intersection). NextBillion. How does the Google Distance Matrix API calculate the distance from point A to B. Part of the all-in-one, cost-effective alternative to Google Maps and Mapbox. here in this presented example below the result['rows'][0]['elements'] is a JSON object that has two keys one for the distance and the other for the duration. 1, the exponential distance matrix of block graph G = ( p 1, p 2, ⋯, p k) is invertible if and only if q ≠ 1 and q ≠ − 1 p i − 1 for each 1 ≤ i ≤ k. elements[index]. However, the TravelTime API is more cost-effective than the Google Distance Matrix API for calculating large matrices of travel times at once. My distance matrix is as follows, I used the classical Multidimensional scaling functionality (in R) and obtained a 2D plot that looks like: But What I am looking for is a graph with nodes. Among the first results related to the distance matrix, the remarkable theorem proved by Graham and Pollack [26] that gives a formulas of the determinant of the distance matrix of a tree depending only on the order n. Customize it by avoiding areas, specific street types or whole countries. This makes it easier to get the time, distance and the geometry per “leg”. The geometric distance matrix of a molecular graph (G) is a real symmetric nxn matrix, where n represents the number of vertices in the chosen graph or sub-graph. Go to. But I want to calculate distance, actual path mobile(in vehicle) has covered. g. 1) has arrived on CRAN. Also do not want to use Azure maps. The code structure and data used in this example is also available in this GitHub repository. On the rank of the distance matrix of graphs. Example:the distance matrix based on the quasi-euclidean distance (1) is calculated and corrected according to Formula (4). Learn how to build your app with GraphHopper's Directions APIIt supports alternative route suggestions and many different map backgrounds. 25 km. If you want to test the amazing speed of GraphHopper online you can use the instance at GraphHopper. to get started. The first startup of GraphHopper can take quite long, because it loads and precomputes index files. But then again, AWS spews out new services like crazy so hard to keep up. Routes API builds on the foundational features of the Directions and Distance Matrix APIs that your business relies on,. Image source: GraphHopper . Either by repetitive use of one-to-all shortest path algorithms like Dijkstra's or maybe use an all-to-all shortest path algorithms such as the Floyd-Warshall algorithm. Connect and share knowledge within a single location that is structured and easy to search. change the travelling speed for certain road types. Karussell, I appreciate you trying to help but could you point me to a description of how to use this API offline? All I can see is a Java client which still hits the GraphHopper server to get the results. Have a look into the Java API documentation for further details e. routers, which hosts a class abstracting the service’s API.