1

I am trying to cut a window (in pixels) from a geotiff file and output in a different size. gdal_translate allows that but gives no option to set resampling, while gdalwarp allows resampling while it requires the src window to be in georeferenced coords.

Is there away to get the best of both. i.e. (src in pixels and using resampling)?

Thanks.

  • 1
    Why don't you apply these two steps one after the other? – webrian Jul 27 '12 at 6:22
  • I will have 100000's of files (tiling). This doubles the time which I am trying to avoid. This is an alternative and valid idea though. – alsaleem Jul 27 '12 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.