Add EPSILON (=1e-4) to corners of area to refine used in test_rasterize_poly_refinement and test_rasterize_multiple_refinements to fixtures and return based on gdal version
Add tests with gdal 3.6 to github actions (for python 3.12) using a ppa to get gdal 3.6
Cases where the area to refine exactly matches the computational grid may have different refinements in gdal 3.4 then in gdal 3.6. Users should be informed about this on release
Fix gdal 3.4 issues
Allow failing (skipped) test ./threedigrid_builder/tests/test_raster_interfaces.py::test_crs to pass by splitting the tests and running one or
the other based on the gdal version. This however does not ensure that there are no downstream effects.
This call is used the property RasterIORasterInterface.epsg_code, which is subsequently used by RasterHasMatchingEPSGCheck.is_valid where it could potentially change the result. This function seemed to be well tested, so any issues here should be caught.
Furthermore, returning the actual spsg instead of None seems an improvement.
Partially updated github action matrix
Renamed current to 2023
Removed Python 3.7 from the tests and set 3.8 as minimal version
Fix gdal 3.6 issues
test_rasterize_poly_refinement
andtest_rasterize_multiple_refinements
to fixtures and return based on gdal versionCases where the area to refine exactly matches the computational grid may have different refinements in gdal 3.4 then in gdal 3.6. Users should be informed about this on release
Fix gdal 3.4 issues
Allow failing (skipped) test
./threedigrid_builder/tests/test_raster_interfaces.py::test_crs
to pass by splitting the tests and running one or the other based on the gdal version. This however does not ensure that there are no downstream effects.Given
There is one call that gives a different result:
This call is used the property
RasterIORasterInterface.epsg_code
, which is subsequently used byRasterHasMatchingEPSGCheck.is_valid
where it could potentially change the result. This function seemed to be well tested, so any issues here should be caught.Furthermore, returning the actual spsg instead of
None
seems an improvement.Partially updated github action matrix