0

I am using ArcObjects, namely RasterGeometryProc, to apply rotation on grids. The transformation works fine. However, when looking at the grids properties in ArcGis, the cell sizes has changed.

Without rotation, the cell size is 50 X 50 as expected. After applying rotation transformation (30 degrees), I get 72.728 X 64.539.

Seems like the new size is the extent of the rotated cell ?

Is this a bug, or is it the way it is supposed to be ?

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Aug 20, 2013 at 6:00

1 Answer 1

1

I found the answer myself, when interpreting this documentation from ESRI.

Seems like the cell width & height is a part of the transformation (affine ?) parameters for e.g. rotation. The cell "size" is not the size of the cell (except when the raster is not rotated), its the increment factor for each cell's spacing in the XY plane.

answered Aug 27, 2013 at 22:11
3
  • I don't quite follow: when you rotate a 50 by 50 square cell, the spacing of the rotated rows or columns along any axis cannot exceed 50. Where exactly do the values of 72.728 and 64.539 come from, then? (Those numbers have no evident relationship to a 30 degree rotation, either.) Commented Jun 9, 2014 at 23:05
  • @whuber, they are the width/height of the cell, not along the sides, but measured corner to corner from the base x and y axis. Commented Jan 26, 2015 at 9:49
  • Thank you. I guessed that, but those values appear inconsistent with a 30 degree rotation. Perhaps the rotation was not exactly 30 degrees? Commented Jan 26, 2015 at 10:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.