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’m using IDL program. But I have a question how to convert different row and column number (row/col) to the same size of column and row number of 36 time series NDVI images. These images grouped into three different column and row numbers. When I do the subset I used the same shapefile and Geographic Lat/long (WGS 84) projection for all of them. So I’d like to ask why col/row numbers of these images is different. Second how to correct their size into the same size (col/row number)?

Thanks for your help

share|improve this question
So you have rectangular images and want to create square ones? – underdark Aug 26 '11 at 10:35

gdal_translate.exe has an "-outsize" option that allows you to resize an image by defining the number of rows and columns in the output. This might help you fix your images if you can't figure out the issue in IDL.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.