Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)?


share|improve this question
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 posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.