X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 24 Jul 2011 03:37 PM by  anon
UTM to x,y coordinates - how?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
24 Jul 2011 03:37 PM
    Preview Hi folks - I'm a bit of a newbie programmer with IDL and especially, with incorporating ENVI calls into IDL. I have what I think is a simple question - I am trying to write a relatively simple IDL procedure/function that will call ENVI functions. We need this to be a quick, streamlined program (so we do not want the GUI/ENVI interface overhead). I need to create 60 ROI's for my application emanating from a single point. The catch in, the point can be anywhere in my input raster, and I only know it's location in UTM coordinates. I need to know its location in x,y, so I can define my ROI's. I'd like the simplest solution to finding this UTM defined location in raster space, without, for instance, having to go through the particulars of the UTM projection definition. Surely there is some easy way to have ENVI/IDL 'tell' me where tihs point is in raster x,y coordinates? I can't seem to figure this out. I am running IDL 7.0 and ENVI 4.5. Thanks! Cyndy

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    25 Jul 2011 10:54 AM
    ENVI_CONVERT_FILE_MAP_COORDINATES will convert between map and image coordinates. You can read about this routine in the ENVI Help.
    You are not authorized to post a reply.