Fast Routing

फ्रीमियम
द्वारा Routing | अपडेट किया गया 23 दिन पहले | Mapping
लोकप्रियता

9.3 / 10

लेटेंसी

117ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

Fast Routing with osrm R package

Rapid account: Andreasft
andreasft
एक महीने पहले

Great project. I wonder if it is possible to setup the osrm package to use the Fast Routing API to process the routing queries?
It is possible to manually set the osrm server, but I’m not sure if it is possible to add the API key.
https://cran.r-project.org/web/packages/osrm/osrm.pdf

Any suggestions on how this can be done?

Thanks.

Rapid account: Routing
Routing Commented एक महीने पहले

Hello Andreas,

have you tried to trick the osrm R package into accepting an api key by e.g. using

osrm.server=“https://fast-routing.p.rapidapi.com/

and than calling osrmRoute with an expanded overview param to smuggle the rapidapi-key param into the request, e.g. by using osrmRoute(… overview = “full&rapidapi-key=YOUR-KEY-FROM-RAPIDAPI”)?

This may work in using the API endpoint for osrmRoute in the osrm R package.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें