Skip to content

read_osm documentation reports wrong return class #33

Description

@barryrowlingson

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions