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

mosaic() should handle area units #1

Open
joeroe opened this issue Aug 26, 2018 · 0 comments
Open

mosaic() should handle area units #1

joeroe opened this issue Aug 26, 2018 · 0 comments

Comments

@joeroe
Copy link
Owner

joeroe commented Aug 26, 2018

Currently, mosaic() relies on the user to specify an area parameter that matches the measurement units used in of frame and silently discards the unit class returned by sf::st_area().

It would be better if it allowed a units object to be passed to area and intelligently handled unit conversions. Assuming the units of area if it is given as a plain number should be a fallback option accompanied by a warning.

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