comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Problem with ENVI_CONVERT_File_COORDINATES
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Problem with ENVI_CONVERT_File_COORDINATES [message #58824] Mon, 25 February 2008 08:10 Go to next message
peter.eddy@shaw.ca is currently offline  peter.eddy@shaw.ca
Messages: 19
Registered: March 2005
Junior Member
I would check the usage of:

> ENVI_CONVERT_File_COORDINATES, fid, xF, yF,xcoord, ycoord

If I understand correctly, you are trying to get the xF and yF values
from the hard coded Xmap and Ymap coordinates. Therefore you would
use:

output=data[xF,yF,*]

Not sure if you need a "+" or "-" for your Degree coordinates
indicating North/South(Latitude) or East/West(Longitude).

Hope this helps.

Pete
Re: Problem with ENVI_CONVERT_File_COORDINATES [message #58912 is a reply to message #58824] Mon, 25 February 2008 18:27 Go to previous message
bulrushmower is currently offline  bulrushmower
Messages: 19
Registered: February 2008
Junior Member
I tried these methods, however, did not work. Thanks anyway.

On Feb 25, 10:10 am, Pete <peter.e...@shaw.ca> wrote:
> I would check the usage of:
>
>>   ENVI_CONVERT_File_COORDINATES, fid, xF, yF,xcoord, ycoord
>
> If I understand correctly, you are trying to get the xF and yF values
> from the hard coded Xmap and Ymap coordinates.  Therefore you would
> use:
>
> output=data[xF,yF,*]
>
> Not sure if you need a "+" or "-" for your Degree coordinates
> indicating North/South(Latitude) or East/West(Longitude).
>
> Hope this helps.
>
> Pete
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: iTools hardware rendering
Next Topic: Expensive loops... can they be avoided?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:33:49 PDT 2025

Total time taken to generate the page: 0.00618 seconds