X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Apr 2009 03:20 PM by  anon
Dealing with georeferenced datas
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
27 Apr 2009 03:20 PM
    Hello, The context: I am having some level 1.5 georeferenced PALSAR dataset. What I want to do is to export those datas to IDL (I can do it now) and I want to have access to the layer that contains the lat/lon coordinates. In fact, I want to be able to extract the backscatter of one pixel located with its lat/lon coordinates and compare it to my ground dataset. Because in ENVI I have the values displayed with their coordinates in the cursor value box and I wonder how to have an access to those two informations in IDL after an export. Thank you, David Ganem

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    28 Apr 2009 08:30 AM
    It is still easiest to access the map information using ENVI routines.  Typically a file has a single map location and pixel size.  ENVI will calculate all the rest of the pixel locations using this information.  You may want to look at 'ENVI_GET_MAP_INFO' to get the projection and map info from the file.  This returns the coordinate from the Map Info dialog in ENVI.  If you know a specific location in your image you want to extract the pixel value for, you can use ENVI_CONVERT_FILE_COORDINATES to convert between map and file coordinates and then extract the pixel values for that sample/line using something like ENVI_GET_DATA or ENVI_GET_SLICE. 
    You are not authorized to post a reply.