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

Affine flip compose args to be conventional #1196

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Commits on Jun 25, 2024

  1. Affine flip compose args to be conventional

    FIX: #1195
    
    e.g. for "conventional" https://gdal.org/api/raster_c_api.html#_CPPv424GDALComposeGeoTransformsPKdPKdPd
    
    ```
    /// The resulting geotransform is the equivalent to padfGT1 and then padfGT2 being applied to a point.
    /// Parameters:
    ///     padfGT1 -- the first geotransform, six values.
    ///     padfGT2 -- the second geotransform, six values.
    ///     padfGTOut -- the output geotransform, six values, may safely be the same array as padfGT1 or padfGT2.
    void GDALComposeGeoTransforms(const double *padfGeoTransform1, const double *padfGeoTransform2, double *padfGeoTransformOut)
    ```
    
    Note: `padfGT1` **and then** `padfGT2`, previously we were effectively doing `padfGT2` **and then** `padfGT1`.
    
    I also simplified some of the examples to have more understandable
    input/output. I'm not good enough at mental matrix math to know what to
    expect from a rotated skew.
    michaelkirk committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    85eb674 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    47a4564 View commit details
    Browse the repository at this point in the history