Skip to content

gh_covering should be S3 #22

@MichaelChirico

Description

@MichaelChirico

Currently an error:

GH6 = gh_covering(SG$poly, minimal = TRUE)
Error in gh_covering(SG$poly, minimal = TRUE) : 
  Object to cover must be Spatial (or subclass)

This should just dispatch:

GH6 = gh_covering(as_Spatial(SG$poly), minimal = TRUE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions