Skip to content

crop extent in make_africa_mask when countries is not NULL #69

@geryan

Description

@geryan

e.g. the below is necessary becase the first call uses the extent for all Africa which is dumb

This function needs redoing wholesale I reckon. Come on mate lift your game.

make_africa_mask(
      type = "raster",
      res = "high",
      countries = "COD"
    ) |>
      crop(
        y = make_africa_mask(
          type = "vector",
          countries = "COD"
        )
      )

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions