Skip to content

Discrete scale when using tidyterra::geom_spatrasterΒ #34

@schonhose

Description

@schonhose

Hi,

I just came across your package yesterday and it help me to drastically limit the code I used to plot a spatRaster from the terra package. However, I am looking to plot a raster using a discrete scale, whereas the original has continuous values.

Now I am not sure how to proceed with this, as geom_spatraster does not support breaks. Is this something that can be easily added or is there any other way I can plot the results and then use scale_fill_manual to set the colors I want to use?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❔ q&aQuestions on the usage of tidyterraπŸ“Š ggplot2Issues related with the implementation of ggplot2 functionalities

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions