Re: [gdal-dev] Overview resampling generating non-existant values

2024-08-21 Thread Justin Terry via gdal-dev
rtant<https://aka.ms/LearnAboutSenderIdentification> For COG format, you should use -co RESAMPLING=mode. gdalwarp's -r switch only applies to the full resolution warper resampling, not the overviews. TB Le mer. 21 août 2024, 18:09, Justin Terry via gdal-dev mailto:gdal-dev@lists.osg

[gdal-dev] Overview resampling generating non-existant values

2024-08-21 Thread Justin Terry via gdal-dev
Hi, I'm experiencing a strange issue I've never seen before where certain resampling methods that should only include values in the original dataset, like mode and nearest, are adding new values in the overviews. For example, the original raster contains the following values: [0, 1, 2, 4,