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 following the "How to create a raster dataset" tutorial:

The questions are:

1) How can I create the raster in a file geodatabase? (The example given is incomplete.)

2) How can I rotate the newly created raster? (Standalone TIFF or a geodatabase raster.)

I know there is IRasterGeometryProc3, but I can't make it work. Any samples / help would be appreciated.


share|improve this question
I couldn't find in which point you think the example is incomplete. Can you make it more clear? May be then I can help you – Emi Jan 10 '13 at 3:38
You're right, the example is sufficient, already gone through this. I don't remember exactly what I was missing, despite some tips on how to rotate the raster. Thanks – jan_b Jan 10 '13 at 7:34
I have updated my answer. It may help you – Emi Jan 10 '13 at 8:35
up vote 2 down vote accepted

In this example, it creates a raster in a raster workspace. If you need a file geodatabase, you need to create/open a file geodatabase and then assign it to a raster workspace and all others are same procedure then.

ADDITION: You can go through IRasterGeometryProc.Rotate Method

I found following code snippet in a esri document. Though this document for arcgis version 9.2, it may help you.

void Rotate(IRaster raster)
    IRasterGeometryProc rasterGP = new RasterGeometryProcClass();
    rasterGP.Rotate(null, 45, raster);
share|improve this answer
As simple as that ;) Everything works fine now, thanks for your help. – jan_b Jan 11 '13 at 8:08
you are welcome :) – Emi Jan 11 '13 at 14:22

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.