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

helpers for image rendering #13

Open
mdsumner opened this issue Feb 28, 2023 · 2 comments
Open

helpers for image rendering #13

mdsumner opened this issue Feb 28, 2023 · 2 comments

Comments

@mdsumner
Copy link
Member

we want something like

im <- whatarelief::imagery(source = whatarelief::gebco21())

but, to have that automatically scale the data to a palette (for annotation_gdal - or, should annotation_gdal just do this ??)

thinking functions

raster_data() ## to get data like elevation() does just a better name

image_data() ## to always return colours for any source, needs to handle 3,4 bands and detect if it's already colour-model-ready
@mdsumner
Copy link
Member Author

whoa, maybe do with `vrt://...?scale' args ..

@mdsumner
Copy link
Member Author

first we need vapour to not apply scaling

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