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

Add tile_n() #96

Merged
merged 5 commits into from
Sep 12, 2024
Merged

Add tile_n() #96

merged 5 commits into from
Sep 12, 2024

Conversation

Aariq
Copy link
Collaborator

@Aariq Aariq commented Sep 11, 2024

Closes #86 by adding a tile_n() helper. The only open question is what to do when n is odd? Keep it as rectangular as possible and round up the number of tiles or just do n rows and 1 column? Not sure if one has a performance advantage over the other.

Copy link
Owner

@njtierney njtierney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of small ideas, otherwise looks good!

R/tar_terra_tiles.R Outdated Show resolved Hide resolved
R/tar_terra_tiles.R Outdated Show resolved Hide resolved
be explicit about odd and even

Co-authored-by: Nicholas Tierney <njtierney@users.noreply.github.com>
@Aariq Aariq merged commit 46189de into master Sep 12, 2024
7 checks passed
@Aariq Aariq deleted the tile_n branch September 12, 2024 16:44
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.

tile_n() - as part of tar_terra_tiling
2 participants