This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post.
–
Get SpatialNov 2 '12 at 0:40

Is the native CRS of the raster file the same as the native CRS of the vector file that you are using to clip it?
–
nhoptonNov 2 '12 at 8:34

No, the CRS are not the same for the files. One is 4326 and the other is 32611. How do I show you the code itself? I'm not familiar with how to do that.
–
Dean WalkerNov 2 '12 at 15:50

1 Answer
1

Okay Dean, the CRS of the raster layer and the CRS of the vector layer have to be the same. Probably the best thing to do is to reproject the vector layer (I'm guessing this is the EPSG:4326 one). Right-click on the layer in the layer panel and go Save As.. and select EPSG:32611 as the target CRS.

Still no good. Throwing the same error at me.
–
Dean WalkerNov 2 '12 at 23:53

You've reprojected the vector layer so that it now has the same CRS as the raster layer. So, the next thing to do is to disable on-the-fly coordinate transformation and then load both layers. Can you confirm that if you do this the layers align properly on the screen? N.
–
nhoptonNov 3 '12 at 13:13

1

Is it possible to post a link to the two files? I had several problems with QGIS 1.7.3 and it would be nice to try clipping in 1.8 (before suggesting that you upgrade). N.
–
nhoptonNov 4 '12 at 9:28

1

The raster clips as well as it can here, see picture added above. This was using the current QGIS Master under Ubuntu. I think it might be worth upgrading to QGIS 1.8.
–
nhoptonNov 5 '12 at 18:46