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

st_read example in the sf vignette #54

Closed
Nowosad opened this issue Nov 6, 2016 · 2 comments
Closed

st_read example in the sf vignette #54

Nowosad opened this issue Nov 6, 2016 · 2 comments

Comments

@Nowosad
Copy link
Contributor

Nowosad commented Nov 6, 2016

I've got an error when I tired to replicate results from the sf vignette:

library('sf')
u_kmz <- "http://coagisweb.cabq.gov/datadownload/BikePaths.kmz"
download.file(u_kmz, "BikePaths.kmz")
biketrails_kmz <- st_read("BikePaths.kmz")
Cannot open data source BikePaths.kmz
Error in eval(substitute(expr), envir, enclos) : Open failed. 

(based on today's version of the sf package from github)

@edzer
Copy link
Member

edzer commented Nov 6, 2016

Works for me; please check whether "LIBKML" %in% st_drivers()$name is TRUE for your system.

@Nowosad
Copy link
Contributor Author

Nowosad commented Nov 6, 2016

Yes, probably that's the problem:

"LIBKML" %in% st_drivers()$name
[1] FALSE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants