Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get an error when using osrmIsoChrone #22

Closed
mark88232 opened this issue May 30, 2017 · 1 comment
Closed

I get an error when using osrmIsoChrone #22

mark88232 opened this issue May 30, 2017 · 1 comment

Comments

@mark88232
Copy link

I executed following R codes.

library(osrm)

data("com")

iso <- osrmIsochrone(loc = src[6,], breaks = seq(from = 0,to = 30, by = 5))

but I got a following error when using osrmIsoChrone function

osrmTable function returns an error: 
Error: Something went wrong. It could be that the URL sent to the OSRM public API is too long. 
         Try to enter less sources or destinations.

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘coordinates’ for signature ‘"NULL"’

My sessionInfo is as follows.

> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=Japanese_Japan.932  LC_CTYPE=Japanese_Japan.932    LC_MONETARY=Japanese_Japan.932 LC_NUMERIC=C                  
[5] LC_TIME=Japanese_Japan.932    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] osrm_3.0.1

loaded via a namespace (and not attached):
[1] compiler_3.4.0  rgdal_1.2-7     tools_3.4.0     RCurl_1.95-4.8  sp_1.2-4        grid_3.4.0      bitops_1.0-6    gepaf_0.1.0    
[9] lattice_0.20-35

Could you tell me what I should?

@rCarto
Copy link
Member

rCarto commented May 30, 2017

Hello,
This is probably linked to a problem on the demo server. See issue #4101 (Project-OSRM/osrm-backend#4101)

As they say :

Keep in mind the demo server has basically no uptime guarantees. We try to keep it stable and working but it's running the latest commits and osm planet - so there will be hiccups every now and then.

Here's how to run a routing engine locally on a small extract if that's good enough for you:

https://github.com/Project-OSRM/osrm-backend#quick-start

This was referenced May 31, 2017
@rCarto rCarto closed this as completed Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants