How to increase capacity of osrmRoute in osrm package in RWhat are the OSM 'class' cost settings for OSRM?OSRM Routing in Openlayers 3How can I increase limits of OSRM table function?set up transport modes osrmOL3+osrm show route with instructionsTooBig: Increasing OSRM # of coordinatesOSRM - trucks and cars routes should differUsing OSRM with big queries?OSRM doesn't show actual route while plotting from osrm-backend JSON responseFinding Alternative Routes Using OSRM (R)
Is it possible to do 50 km distance without any previous training?
Why doesn't H₄O²⁺ exist?
The use of multiple foreign keys on same column in SQL Server
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
What would happen to a modern skyscraper if it rains micro blackholes?
can i play a electric guitar through a bass amp?
How to add double frame in tcolorbox?
Do I have a twin with permutated remainders?
Replacing matching entries in one column of a file by another column from a different file
Why is 150k or 200k jobs considered good when there's 300k+ births a month?
Can I make popcorn with any corn?
What does "Puller Prush Person" mean?
How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?
Why can't I see bouncing of a switch on an oscilloscope?
How is it possible to have an ability score that is less than 3?
What's the output of a record cartridge playing an out-of-speed record
Can a Warlock become Neutral Good?
Does Unearthed Arcana render Favored Souls redundant?
Schoenfled Residua test shows proportionality hazard assumptions holds but Kaplan-Meier plots intersect
Dragon forelimb placement
What's the point of deactivating Num Lock on login screens?
Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)
Arthur Somervell: 1000 Exercises - Meaning of this notation
Adding span tags within wp_list_pages list items
How to increase capacity of osrmRoute in osrm package in R
What are the OSM 'class' cost settings for OSRM?OSRM Routing in Openlayers 3How can I increase limits of OSRM table function?set up transport modes osrmOL3+osrm show route with instructionsTooBig: Increasing OSRM # of coordinatesOSRM - trucks and cars routes should differUsing OSRM with big queries?OSRM doesn't show actual route while plotting from osrm-backend JSON responseFinding Alternative Routes Using OSRM (R)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I had plotted the routes of some locations. The maximum number of locations allowed for routing using the OSRM package in R is 100 coordinate points.
How can I extend beyond this restriction?
r route open-source-routing-machine
New contributor
add a comment |
I had plotted the routes of some locations. The maximum number of locations allowed for routing using the OSRM package in R is 100 coordinate points.
How can I extend beyond this restriction?
r route open-source-routing-machine
New contributor
It will help if you give some example code that shows it working for 100 points and then failing for 101.
– Spacedman
Apr 2 at 21:44
@Spacedman here is the output from R when you try to work with the osrm package in R for any sets of coordinates larger than 100 . . The OSRM server returned an error:Error: The public OSRM API does not allow results with a number of durations higher than 10000. Ask for fewer durations or use your own server and set its --max-table-size option.
– user7779697
Apr 3 at 2:25
Also if you try to use theosrmTrip
function in theosrm
package, it works for sets of 100 and fails for those above 100. Here is another exampletrips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:100), c("name","long","lat")], overview = "full")
- This worked. But when I had this code below, it failed for 101 -trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:101), c("name","long","lat")], overview = "full")
– user7779697
Apr 3 at 2:30
add a comment |
I had plotted the routes of some locations. The maximum number of locations allowed for routing using the OSRM package in R is 100 coordinate points.
How can I extend beyond this restriction?
r route open-source-routing-machine
New contributor
I had plotted the routes of some locations. The maximum number of locations allowed for routing using the OSRM package in R is 100 coordinate points.
How can I extend beyond this restriction?
r route open-source-routing-machine
r route open-source-routing-machine
New contributor
New contributor
edited Apr 2 at 21:44
Spacedman
24.8k23551
24.8k23551
New contributor
asked Apr 2 at 21:23
user7779697user7779697
1
1
New contributor
New contributor
It will help if you give some example code that shows it working for 100 points and then failing for 101.
– Spacedman
Apr 2 at 21:44
@Spacedman here is the output from R when you try to work with the osrm package in R for any sets of coordinates larger than 100 . . The OSRM server returned an error:Error: The public OSRM API does not allow results with a number of durations higher than 10000. Ask for fewer durations or use your own server and set its --max-table-size option.
– user7779697
Apr 3 at 2:25
Also if you try to use theosrmTrip
function in theosrm
package, it works for sets of 100 and fails for those above 100. Here is another exampletrips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:100), c("name","long","lat")], overview = "full")
- This worked. But when I had this code below, it failed for 101 -trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:101), c("name","long","lat")], overview = "full")
– user7779697
Apr 3 at 2:30
add a comment |
It will help if you give some example code that shows it working for 100 points and then failing for 101.
– Spacedman
Apr 2 at 21:44
@Spacedman here is the output from R when you try to work with the osrm package in R for any sets of coordinates larger than 100 . . The OSRM server returned an error:Error: The public OSRM API does not allow results with a number of durations higher than 10000. Ask for fewer durations or use your own server and set its --max-table-size option.
– user7779697
Apr 3 at 2:25
Also if you try to use theosrmTrip
function in theosrm
package, it works for sets of 100 and fails for those above 100. Here is another exampletrips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:100), c("name","long","lat")], overview = "full")
- This worked. But when I had this code below, it failed for 101 -trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:101), c("name","long","lat")], overview = "full")
– user7779697
Apr 3 at 2:30
It will help if you give some example code that shows it working for 100 points and then failing for 101.
– Spacedman
Apr 2 at 21:44
It will help if you give some example code that shows it working for 100 points and then failing for 101.
– Spacedman
Apr 2 at 21:44
@Spacedman here is the output from R when you try to work with the osrm package in R for any sets of coordinates larger than 100 . . The OSRM server returned an error:
Error: The public OSRM API does not allow results with a number of durations higher than 10000. Ask for fewer durations or use your own server and set its --max-table-size option.
– user7779697
Apr 3 at 2:25
@Spacedman here is the output from R when you try to work with the osrm package in R for any sets of coordinates larger than 100 . . The OSRM server returned an error:
Error: The public OSRM API does not allow results with a number of durations higher than 10000. Ask for fewer durations or use your own server and set its --max-table-size option.
– user7779697
Apr 3 at 2:25
Also if you try to use the
osrmTrip
function in the osrm
package, it works for sets of 100 and fails for those above 100. Here is another example trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:100), c("name","long","lat")], overview = "full")
- This worked. But when I had this code below, it failed for 101 - trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:101), c("name","long","lat")], overview = "full")
– user7779697
Apr 3 at 2:30
Also if you try to use the
osrmTrip
function in the osrm
package, it works for sets of 100 and fails for those above 100. Here is another example trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:100), c("name","long","lat")], overview = "full")
- This worked. But when I had this code below, it failed for 101 - trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:101), c("name","long","lat")], overview = "full")
– user7779697
Apr 3 at 2:30
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
user7779697 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317562%2fhow-to-increase-capacity-of-osrmroute-in-osrm-package-in-r%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
user7779697 is a new contributor. Be nice, and check out our Code of Conduct.
user7779697 is a new contributor. Be nice, and check out our Code of Conduct.
user7779697 is a new contributor. Be nice, and check out our Code of Conduct.
user7779697 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317562%2fhow-to-increase-capacity-of-osrmroute-in-osrm-package-in-r%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It will help if you give some example code that shows it working for 100 points and then failing for 101.
– Spacedman
Apr 2 at 21:44
@Spacedman here is the output from R when you try to work with the osrm package in R for any sets of coordinates larger than 100 . . The OSRM server returned an error:
Error: The public OSRM API does not allow results with a number of durations higher than 10000. Ask for fewer durations or use your own server and set its --max-table-size option.
– user7779697
Apr 3 at 2:25
Also if you try to use the
osrmTrip
function in theosrm
package, it works for sets of 100 and fails for those above 100. Here is another exampletrips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:100), c("name","long","lat")], overview = "full")
- This worked. But when I had this code below, it failed for 101 -trips <- osrmTrip(loc = day13.crit_spatial_df[c(79,1:101), c("name","long","lat")], overview = "full")
– user7779697
Apr 3 at 2:30