mirror of
https://github.com/rasterio/rasterio.git
synced 2025-12-08 17:36:12 +00:00
* [warp_add_rpcs] initial update to reproject to support rpcs * catch kwargs in _calculate_default_transform * fix allocation of crs to wrong dataset (was src, now dst) in _calculate_default_transform. Specifically where we went from GDALCreateGenImgProjTransformer -> GDALCreateGenImgProjTransformer2 * pass kwargs to calculate_default_transform (to be passed to transformer * update docstrings * update documentation * add debug messages for kwargs used to set Transformer options * Don't capitalize RPC_DEM transformer option value, as it might be a path * includes existing changes from https://github.com/mapbox/rasterio/pull/2030, better support for computation of calculate_default_transform with just gcps or rpcs * adds testse * Remove an empty line Mainly to trigger a new build on travis-ci.com * add new test file (Largely derived from RGB.byte.tif) * Fix incorrectly encoding RPC metadata as transform options Was checking for transformer option RPC_DEM in the RPC metadata by mistake Co-authored-by: Sebastien Tremblay-Johnston <sebastien.tremblayjohnston@mdacorporation.com> Co-authored-by: Sean Gillies <sean@mapbox.com> Co-authored-by: Sean Gillies <sean.gillies@gmail.com>