X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Mar 2006 04:42 PM by  anon
best way to align rasters?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
03 Mar 2006 04:42 PM
    Hi, I have several rasters in the same projection, but with different coordinates for the upper-left corner. I need to do some modeling though BandMath functions, but it seems to require perfectly alligned rasters. I've managed to solve the problem in the past through layer stacking, but I think that will only work if they are all of the same data type(?). I now need to model with rasters of byte, long, and double types. What would be the best method for aligning these? Is there a resampling function I haven't found that will create a new raster file using the header info from a separate raster? Thanks, -Eric

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Mar 2006 04:42 PM
    I suppose I've partially answered this for myself. I think layer stacking is the best option, and partially set up for this according to the help files. Stacking 2 layers together is set by default to include the extents of both layers, automatically casts data values to the most complex data type, and resamples to the finer spatial resolution. So stacking everything into one layer does the job I needed, no prior massaging of pixel size or data type necessary.
    You are not authorized to post a reply.