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

Backport 3.3 (#3778): osr_util.py - bugfix and add default_axis_order flag; arrays.py - add types to remove dependency on numpy #3793

Merged
merged 2 commits into from
May 5, 2021

Conversation

idanmiara
Copy link
Collaborator

@idanmiara idanmiara commented May 5, 2021

backport #3778

… ArrayLike, ScalarLike, ArrayOrScalarLike types (to be used instead of NumpyCompatibleArray, NumpyCompatibleArrayOrReal), removes numpy dependency

osr_util.py, gdallocationinfo.py, numpy_util.py - use new types
autotest/pyscripts/test_gdal_utils.py - test new types
@idanmiara idanmiara changed the title Backport 3.3 (#3754): gdal-utils version: add gdal_utils_version and bump __version__; fix typo Backport 3.3 (#3778): osr_util.py - bugfix and add default_axis_order flag; arrays.py - add types to remove dependency on numpy May 5, 2021
…rs() - add `default_axis_order` flag (with get and set) to allow the user to change the default; add get_srs_pj(), are_srs_equivalent() support functions

autotest/pyscripts/test_osr_util.py.py - add test get_srs() and get_transform() with different axis orders
gdal/swig/python/gdal-utils/osgeo_utils/samples/gdallocationinfo.py - adapt for the new axis_order variable
@rouault rouault added this to the 3.3.1 milestone May 5, 2021
@rouault rouault merged commit d382510 into OSGeo:release/3.3 May 5, 2021
@idanmiara idanmiara deleted the backport_3.3 branch May 19, 2021 06:06
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

Successfully merging this pull request may close these issues.

2 participants