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

Home » Public Forums » archive » Re: ENVI_CONVERT_FILE_COORDINATES returning negative values
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: ENVI_CONVERT_FILE_COORDINATES returning negative values [message #54029 is a reply to message #53947] Sun, 13 May 2007 16:19 Go to previous message
hanneliebx is currently offline  hanneliebx
Messages: 2
Registered: May 2007
Junior Member
On May 12, 1:36 am, "Jean H." <jghas...@DELTHIS.ucalgary.ANDTHIS.ca>
wrote:
>> (the xcoord= -35.406368 and ycoord=149.80322, XF and YF output was
>> -30954 and -34019 respectively)
>
> shouldn't it be x = 149.80322 and y = -35.406368 ???
>
> The returned pixel coords values would make sense if you made this
> inversion!
>
> Jean

YES! thank you for pointing that out. Such a simple mistake that I
kept overlooking the obvious :-) My code works perfectly now and
returns the correct location.

Thanks to everyone who took the time to reply, I really appreciate it.

Hannelie
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to return Values from an options dialog widget to the main program (Pointers)
Next Topic: IDL/Astro/mscred

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

Current Time: Fri Oct 10 05:45:15 PDT 2025

Total time taken to generate the page: 0.32072 seconds