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

2024-08-21 Thread Justin Terry via gdal-dev
Aha, that resolved the issue, thanks! From: thomas bonfort Date: Wednesday, August 21, 2024 at 9:32 AM To: Justin Terry Cc: Gdal Dev Subject: Re: [gdal-dev] Overview resampling generating non-existant values You don't often get email from thomas.bonf...@gmail.com. Learn why this is impo

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

2024-08-21 Thread thomas bonfort via gdal-dev
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 < gdal-dev@lists.osgeo.org> a écrit : > Hi, > > > > I'm experiencing a strange issue I've ne

[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,