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

Home » Public Forums » archive » Problem with ENVI_CONVERT_File_COORDINATES
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Problem with ENVI_CONVERT_File_COORDINATES [message #58889 is a reply to message #58833] Tue, 26 February 2008 08:37 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
bulrushmower@gmail.com wrote:
> I tried these methods, however, did not work. Thanks anyway.


can you print xF, yF and the original coords?
Could it be a rounding problem? ... you assume to read one pixel but
because of rounding it reads the previous pixel value?

Jean


> 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
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Create an ENVI .img file
Next Topic: Three dimensional Polyfillv

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

Current Time: Wed Oct 08 19:27:38 PDT 2025

Total time taken to generate the page: 0.00396 seconds