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

error in deriving transform from corner coords #225

Open
mdsumner opened this issue Mar 17, 2024 · 0 comments
Open

error in deriving transform from corner coords #225

mdsumner opened this issue Mar 17, 2024 · 0 comments

Comments

@mdsumner
Copy link
Member

when there's no transform on the json, it means it is the default transform:

0 1 0 0 0 1

so this is a mistake:

if (is.null(json$geoTransform) && !is.null(extent)) {

The cornerCoordinates in this case sit in 0,ncol, nrow, 0 - i.e. upside down, and at least the json reflects the fact that the geotransform was not set.

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