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

Fail consistently on network error and grid transformations #4302

Merged
merged 2 commits into from
Nov 1, 2024

Commits on Oct 31, 2024

  1. Fail consistently on network error and grid transformations

    Currently when we need to use a remote grid that can't be opened, we
    return HUGE_VAL coordinates values and a proj_errno = PROJ_ERR_OTHER_NETWORK_ERROR,
    (I guess) as expected... But if we do following proj_trans() calls on the same
    transformation object, the grid transformation is ignored and we
    fallback to other methods (Helmert, ballpark, etc.).
    Fix that by consistently returning the same error values as the initial
    failed call.
    
    Fixes pyproj4/pyproj#705
    rouault committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    99f8976 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Defered grid loading: do not try to re-open a grid that previously fa…

    …iled to open from the same PJ* instance
    rouault committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    17b2c2b View commit details
    Browse the repository at this point in the history