Re: [gdal-dev] gdalwarp vs gdal_translate for scaling

2023-01-05 Thread Michael Sumner
ugh, sorry just realized my comment (sentence begins 'Further ...') about "scaling" is completely irrelevant - you mean spatial and not data scaling. Just ignore that one sentence. Cheers, Mike On Fri, Jan 6, 2023 at 10:36 AM Michael Sumner wrote: > in short, warp will give you exactly the ta

Re: [gdal-dev] gdalwarp vs gdal_translate for scaling

2023-01-05 Thread Michael Sumner
in short, warp will give you exactly the target extent of a (possibly) new grid specification in that -te subdivided by the -ts. translate will give you approximately the extent provided to projwin, but snapped to the source grid alignment at a particular zoom implied by the projwin subdivided by

[gdal-dev] gdalwarp vs gdal_translate for scaling

2023-01-05 Thread Daniel Mannarino
Hi folks! We have a process that generates web mercator zoom levels by resampling from the next higher up, from the original resolution down to zoom level 0. Currently we do so with gdalwarp, but a team member realized that gdal_translate is capable of the same, and at first glance is much faste