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.

How do I know what projection to use for north-up or 0 rotation? I have a gtiff (ND83-nf) that gives me the error when importing to Grass. Should I re-project or recreate the image with the rotation burned into the image? If I re-project what projection should I use? when I re-project in fwtools the default comes up as the same as the input. not sure what to choose. Thanks

share|improve this question
    
What exactly is the text of "the error" when you import into Grass? –  yhw42 Sep 14 '10 at 17:11
add comment

1 Answer

up vote 2 down vote accepted

I suppose you got the error "ERROR: Input map is rotated - cannot import." with r.in.gdal.

In this case the image must be first externally rotated, applying the rotation info stored in the metadata field of the raster image file. For example, the gdalwarp software can be used to transform the map to North-up (note, there are several gdalwarp parameters to select the resampling algorithm):

gdalwarp rotated.tif northup.tif

share|improve this answer
    
I am sorry for being so dense. I am still confused. If my image has a projection. and I use gdalwarp to transform to northup. what projection will it be in? Also in your answer there is an example command line with the command, the input, and the output (I assume). what is the parameter to make it north up? I tried the commend with no parameters and still wasn't able to load in grass. –  Brad Nesom Oct 1 '10 at 16:19
    
Please post what you have done, also the gdalinfo output of the original file to better understand the situation. –  markusN Oct 9 '10 at 17:51
add comment

Your Answer

 
discard

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.