* Eliminate boundless reads in merge, new compositing implementation (#3234)
* Eliminate boundless reads in merge, new compositing implementation
Resolves#3228
* Fix nits
* Compare non-zero mean of arrays
* Implement and use Window.align()
Combines the effects of Window.round_offsets and
Window.round_lengths, producing the same effect as gdal_merge.py
* Remove unused math import
* Add more docs about align()
Also increase the fraction used in round_offsets() to be
consistent with align()
* Move align() to a private func, use two existing methods in tests
* Add a test for merging WarpedVRTs (#3237)
Resolves#3196
* Backport of #3217 (#3243)
* Backport of #3217
* Update change log
* Increment GDAL and Python versions for CI (#3244)
* Rewrite _matches() to better support to_authority() and to_epsg() (#3255)
* Rewrite _matches() to better support to_authority() and to_epsg()
Resolves#3239
* Remove list() call and update change log
* Use to_epsg() in is_epsg_code() (#3258)
* Use to_epsg() in is_epsg_code()
Resolves#3248
* Update change log
* Allow MRF compression to surface in properties (#3259)
* Allow MRF compression to surface in properties
Resolves#3256
* Update change log
* Register drivers at most once per process (#3260)
* Register drivers at most once per process
Resolves#3250
* Appease flake8
* Add a note about GDAL_SKIP in the change log
* Support all GDALFillNodata() options in rasterio.fill (#3265)
* Support all GDALFillNodata() options
Resolve#3175.
* Cast values to str and update docs
* Update change log
* Prevent rasterio from trying to open a dataset object (#3266)
Resolves#3105.
* Fix typos discovered by codespell (#3264) (#3267)
* Fix typos discovered by codespell
* crasher
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
* Fix erroneous masking of 0-valued data (#3268)
* Fix erroneous masking of 0-valued data
Resolves#3245
* Add an assertion about data values and update change log
* This is 1.4.3
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
* ENH: Add support for Int64 & UInt64 for GDAL 3.5+
* Use ubuntu-small, not full, also xfail a test for GDAL 3.5.0
Co-authored-by: snowman2 <alansnow21@gmail.com>
add additional monkeypatch
skip on windows for now, unclear what intent of test is
removed third slash that is the anchor ('/') on posix but would be 'C' on windows
make ParsedPath.from_uri consistent with as_posix usage in init
fix tests
* Switch from OSRAutoIdentifyEPSG to OSRFindMatches
Resolves#2273
* Keep older code in _matches for use with GDAL versions < 3
* Save all matches for an authority in order
* Generalize assertion on CRS WKT from gdalinfo
Even though GDAL only has unsigned GDT_Byte raster data type, signed vs unsigned
images can be differentiated via PIXELTYPE property. It is set to 'SIGNEDBYTE'
for signed 8-bit images. This is how GDAL's native python binding compute
numpy.dtype from dataset object.
* Refactor of _CRS class to make WKT canonical
* Finish work on making WKT canonical
Many test assertions needed update
* Accept {'init': 'EPSG:xxxx'}
Also removed commented code
* Restore previous rio-info behavior when there's an EPSG code
* Remove unneeded import
* Use from_proj4 in from_epsg
* Rewrite of _CRS to keep an OGRSpatialReferenceH (#1602)
* Rewrite of _CRS to keep an OGRSpatialReferenceH
Rewrite of CRS to use _CRS by composition, not inheritance
New OGRErr handling function exc_wrap_ogrerr
* Remove commented code
* Add back in the error stack check for ImportFromProj
Also fix up docstrings
* add webp to the available compression enum (#1515)
* Add webp to enums.Compression and increment version
* Add link to dev discussion group
* fix year specified in version 1.0.9 date (#1530)
Year specified in version 1.0.9 date is 2019, which is in the future at this time. Set to 2018, which is in the past.
* Update docstring for plotting_extent (#1516)
* added support for ESRI wkt strings - resolves issue #1537 (#1538)
* updated _handle_crswkt to use CRS.from_wkt; resolved issue #1540 (#1541)
* updated _handle_crswkt to use CRS.from_wkt; resolved issue #1540
* added test for datasetreader opening dataset with ESRI projection wkt string
* Fix a typo (probably) (#1526)
* Fix a typo (probably)
* Update url for manylinux
* Update README.rst
Co-Authored-By: ismailsunni <imajimatika@gmail.com>
* Update README.rst
Co-Authored-By: ismailsunni <imajimatika@gmail.com>
* Remove unused string
* modified _osr_from_crs to use CRS.from_user_input (#1546)
* modified _osr_from_crs to use CRS.from_user_input
* update to use tmpdir fixture for pytest
* update comparison for error output for rio warp
* updated to always attempt to MorphFromESRI to prevent exception from being raised
* added test to test warping with ESRI wkt
* updated data_dir to be used as fixture
* removed duplicate import of CRSError
* reordered initialization of spatial reference to prevent memory leaks
* updated to raise CRSError of auth != EPSG
* Revert "modified _osr_from_crs to use CRS.from_user_input (#1546)" (#1548)
This reverts commit b120a00a05e4f6174c02e855cc016fde9b54c4e0.
* Mark tests using gdal binaries
* Add pytest import
It looks like the previously implemented data type check was not ever
being entered, due to checking for a 'type' attribute on a string. Since
the _init_dtype attribute is now always a string, remove this check and
related handling, so that now dtypes are checked for validity, providing
a more useful error message in case of an invalid dtype. Fixes#1008.