Skip to content

feat: add area calculations for H3#22

Merged
JosiahParry merged 5 commits intoextendr:mainfrom
espinielli:main
Feb 22, 2026
Merged

feat: add area calculations for H3#22
JosiahParry merged 5 commits intoextendr:mainfrom
espinielli:main

Conversation

@espinielli
Copy link
Contributor

added area functions. still in h3o crate version 0.5.0; fixes #21

@JosiahParry
Copy link
Collaborator

Thank you! I'm gonna pull this and tidy it up :)

@JosiahParry JosiahParry changed the title add functions to return cells' area in km2, m2 and rads2 feat: add area calculations for H3 Feb 22, 2026
@JosiahParry
Copy link
Collaborator

Changes I've made:

  • added R wrappers to the area rust functions
  • made the area functions handle NAs and errors by returning NA
  • udpated NEWS.md

@JosiahParry JosiahParry merged commit ce47deb into extendr:main Feb 22, 2026
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

Successfully merging this pull request may close these issues.

add area methods

2 participants