RasterToNumPy  is it Bug or is it OK???

554
1
07-28-2011 10:32 PM
martinmaretta
Occasional Contributor
Hi i try to use python function RasterToNumPy, but i found that there is opposed i, j coordinates

pyArray,  where j- is rows (y direction) and i- is columns (x direction) is it OK?

in ArcObjects in pixelArray is it like this pArray(i,j)

so is it OK that pyArray, = pArray(i,j) ???  thanks
Tags (2)
0 Kudos
1 Reply
Luke_Pinner
MVP Regular Contributor
No, not a bug. From the NumPy documentation:
Data in new ndarrays is in the row-major (C) order
.
0 Kudos