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

Scale values to max 255 instead of 1 #2

Open
francisbarton opened this issue Sep 19, 2024 · 0 comments
Open

Scale values to max 255 instead of 1 #2

francisbarton opened this issue Sep 19, 2024 · 0 comments

Comments

@francisbarton
Copy link
Owner

francisbarton commented Sep 19, 2024

Currently in the package README examples, allowance is made for the fact that the raster values are 0-1 scaled. (specific options are used in tidyterra and tmap).

Adjust the package function so that values are scaled to 0-255 and then these options won't be needed (both the tm_rgb() and geom_spatraster_rgb() functions have a default max value of 255).

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