mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
* Refactor to make data search testable * Test ensure_env with faked sys.prefix and _env file location * raising=False * Don't call fixture function, use it as a fixture * Re-applying PR #1546 to maint-1.0 via patch (#1549) * Refactor to make data search testable * Test ensure_env with faked sys.prefix and _env file location * raising=False * Don't call fixture function, use it as a fixture * Add function to get context if needed * 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 * Handle GDAL's comments about WKT to PROJ conversion * Bring Env inside methods if needed * New test of compound CRS that was crashing 1.0.9
Testing ======= Rasterio's tests require several raster data files. Grab them from https://github.com/mapbox/rasterio/tree/master/tests/data and copy them to this directory. The RGB.byte.tif file is derived from USGS Landsat 7 ETM imagery. The shade.tif file is derived from USGS SRTM 90 data. The float.tif and float_nan.tif files are original works of the Rasterio authors. All test images are licensed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication: http://creativecommons.org/publicdomain/zero/1.0/.