* 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.
Implements a number of changes:
* Creates a CRS class that simply inherits from UserDict
* Moves CRS related methods (to_string, from_string, is_geographic,
is_projected, is_valid, and is_epsg_code) to be class methods
* Moves the CRS comparison method to be CRS.__eq__
* Modifies tests that compare CRS output to a raw dict, to compare to
UserDict.data property
* Replaces all creation of CRS represtation using bare dicts with the
use class instantiation