X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Dec 2011 03:31 PM by  anon
generating latitidue layer in ENVI
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
05 Dec 2011 03:31 PM
    I have several georeferenced Landsat5-TM images with which I would like to undertake some band math calculations. One of the inputs into these calculations is latitude. Is there a way to generate a layer of latitude data in order to incorporate this information into band math?

    Deleted User



    New Member


    Posts:
    New Member


    --
    06 Dec 2011 07:21 AM
    I'm afraid that I don't know of any way to make an image of latitude, other than to manually calculate latitude for every pixel in the image. If this images are in the Geographic Lat/Long coordinate system, this would be pretty simple, based on the lat/long of the upper left corner, and the size of the pixels in degrees. But if it's in any other projection, it would be a lot trickier to figure out what the lat/long for each pixel are. You could reproject the image into Lat/Long (Map > Convert Map Projection), then write some IDL code to calculate latitude for each pixel, starting from the known latitude of the upper left corner and incrementing based on the size of the pixels in degrees. I hope that makes sense. Good luck. Peg
    You are not authorized to post a reply.