riatelab / osrm

Interface between R and the OpenStreetMap-based routing service OSRM
https://doi.org/10.21105/joss.04574
GNU General Public License v3.0
231 stars 31 forks source link

Error as "lexical error: invalid char in json text" #63

Closed easygogeo closed 3 years ago

easygogeo commented 3 years ago

I have been using osrm for a while and haven't come across this issue before. I tried to generate simple 10 minutes isochrone in r. library(sf) data("berlin") iso <- osrmIsochrone(loc = c(13.43,52.47), seq(from = 0, to = 30, by = 5), returnclass="sf")

Error: image

I tried a lot to resolve and even uninstalled and reinstalled r completely, but no luck at all. Can some, please guide me where am I doing wrong.

Thanks in advance!!!

@rCarto

rCarto commented 3 years ago

Have you tried the dev version of osrm?