Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

share|improve this question
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.