-
Notifications
You must be signed in to change notification settings - Fork 31
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
sf to sp problem in osrmIsochrones() #45
Comments
There is a small bug. library(osrm)
library(sf)
test <- osrmIsochrone(loc = c(-2.4529553,52.71386),
breaks = seq(from = 0,to=8,by=8),
returnclass = "sf")
st_geometry(test) <- st_collection_extract(x = st_geometry(test),
type = "POLYGON")
test <- as(test, "Spatial") |
The bug is fixed in the dev version of the package: |
Hi There! The manual workaround works! However, the update doesnt seem to fix the error in
Ran
Not sure if I missed anything! |
Mmmm, what is your |
Oops, I am not sure why but it suddenly works today. Perhaps I needed to restart my R session. Here is my sessionInfo() anyway! - Thank you so much for your quick response!
|
Glad it works! |
Hi there,
Thank you! This solved the error.
However, I ran into another problem with this set of coordinates, also in London:
For this, the error is:
This same error occurs for other few sets of coordinates that I have too.
Not sure what this means. Would appreciate your help, thank you!!
Originally posted by @jiaweniscute in #44 (comment)
The text was updated successfully, but these errors were encountered: