You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SAMPLE_STEPS=ALL doesn't work with rasterio reproject whereas it should.
rasterio._err.CPLE_IllegalArgError: GDALWarpOptions.Validate(): SAMPLE_STEPS warp option has illegal value.
Starting with GDAL 3.7, this can be set to ALL to mean to sample along all edge points of the destination region (if SAMPLE_GRID=NO or not specified), or all points of the destination region if SAMPLE_GRID=YES.
Expected behavior and actual behavior.
SAMPLE_STEPS=ALL doesn't work with rasterio reproject whereas it should.
rasterio._err.CPLE_IllegalArgError: GDALWarpOptions.Validate(): SAMPLE_STEPS warp option has illegal value.
Steps to reproduce the problem.
warper_options = {"RPC_DEM": dem_file,
"RPC_DEM_MISSING_VALUE": 0,
"OSR_USE_ETMERC": "YES",
"BIGTIFF": "IF_NEEDED",
"SAMPLE_GRID": "YES",
"SAMPLE_STEPS": "ALL"}
Operating system
4.18.0-372.32.1.el8_6.x86_64 #1 SMP Fri Oct 7 12:35:10 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
GDAL version and provenance
GDAL 3.2.2
The text was updated successfully, but these errors were encountered: