Re: [gdal-dev] Discrepancy in utilizing overviews with gdalwarp

2024-06-10 Thread Even Rouault via gdal-dev
2.27 *Vastaanottaja:* gdal dev *Aihe:* [gdal-dev] Discrepancy in utilizing overviews with gdalwarp I'd anticipate that both commands would yield the same outcome: $ gdalwarp -oo OVERVIEW_LEVEL=1 -dstalpha input.vrt ovr1.tif $ gdalwarp -ovr 1 -dstalpha input.vrt ovr

Re: [gdal-dev] Discrepancy in utilizing overviews with gdalwarp

2024-06-10 Thread Denis Rykov via gdal-dev
he overview will be used as the output size.” > > > > Maybe the thing to do is to improve the documentation of the gdalwarp > option https://gdal.org/programs/gdalwarp.html#cmdoption-gdalwarp-ovr and > mention that this option does not have on effect on the size of the output. > > > &g

Re: [gdal-dev] Discrepancy in utilizing overviews with gdalwarp

2024-06-10 Thread Rahkonen Jukka via gdal-dev
Denis Rykov via gdal-dev Lähetetty: maanantai 10. kesäkuuta 2024 2.27 Vastaanottaja: gdal dev Aihe: [gdal-dev] Discrepancy in utilizing overviews with gdalwarp I'd anticipate that both commands would yield the same outcome: $ gdalwarp -oo OVERVIEW_LEVEL=1 -dstalpha input.vrt ovr1.tif $ gda

[gdal-dev] Discrepancy in utilizing overviews with gdalwarp

2024-06-09 Thread Denis Rykov via gdal-dev
I'd anticipate that both commands would yield the same outcome: $ gdalwarp -oo OVERVIEW_LEVEL=1 -dstalpha input.vrt ovr1.tif $ gdalwarp -ovr 1 -dstalpha input.vrt ovr1.tif However, the reality is different. The first command behaves as intended, utilizing overviews from *.vrt.ovr, while the secon