Skip to content

error in deriving transform from corner coords #225

@mdsumner

Description

@mdsumner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions