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

read_osm documentation reports wrong return class #33

Open
barryrowlingson opened this issue Feb 15, 2022 · 0 comments
Open

read_osm documentation reports wrong return class #33

barryrowlingson opened this issue Feb 15, 2022 · 0 comments

Comments

@barryrowlingson
Copy link

barryrowlingson commented Feb 15, 2022

Code returns a stars object:

> osm_NLD <- read_osm(NLD_muni, ext=1.1)
old-style crs object detected; please recreate object with a recent sf::st_crs()
old-style crs object detected; please recreate object with a recent sf::st_crs()
> class(osm_NLD)
[1] "stars"

But doc says raster object:

Value:

     The output of ‘read_osm’ is a ‘raster’ object.

There's also a few references to passing raster=FALSE and "a RasterStack is returned" - I think the docs need a refresh!

> packageDescription("tmaptools")
Package: tmaptools
Type: Package
Title: Thematic Map Tools
Version: 3.1-1
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

1 participant