Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

enable conversion to sf #8

Merged
merged 1 commit into from
Oct 27, 2018
Merged

Conversation

etiennebr
Copy link
Contributor

@khufkens, I just wanted to clarify how the sf support could happen. This is limited to the MODISTools class, but it gives an idea. Hopefully it can be helpful. Usage example are in tests-mt_subset.R

cc ropensci/software-review#246 (comment)

@@ -205,3 +205,43 @@ mt_subset <- function(product = NULL,
out_dir = out_dir)
}
}

corner_to_coord <- function (x) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This conversion could happen early in mt_subset, to avoid the shifted coordinates.

@khufkens khufkens merged commit c6118cf into ropensci-archive:master Oct 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants