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

Home » Public Forums » archive » Re: coordinate coversion systems
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: coordinate coversion systems [message #68234] Thu, 08 October 2009 07:36
oxfordenergyservices is currently offline  oxfordenergyservices
Messages: 56
Registered: January 2009
Member
On 8 Oct, 15:10, David Fanning <n...@dfanning.com> wrote:
> a writes:
>> I can see how they get from lat/lon to e/n but not back again.  I'll
>> keep having a look though, thanks!
>
> MAP_PROJ_INVERSE
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

ok, thanks, got it working now
Re: coordinate coversion systems [message #68236 is a reply to message #68234] Thu, 08 October 2009 07:16 Go to previous message
oxfordenergyservices is currently offline  oxfordenergyservices
Messages: 56
Registered: January 2009
Member
On 8 Oct, 15:10, David Fanning <n...@dfanning.com> wrote:
> a writes:
>> I can see how they get from lat/lon to e/n but not back again.  I'll
>> keep having a look though, thanks!
>
> MAP_PROJ_INVERSE
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

thanks!

and why does

IDL> x=[0.0,0.0]
IDL> b=map_proj_inverse(x)
% MAP_PROJ_INVERSE: Value of Projection index is out of allowed range.
% Execution halted at: N 81 /watt0/LCR/rlayber/metar/
n3.pro
% $MAIN$

surely the map_structure is default and i'm asking the lat long on 0
eatings and 0 northings, ie the origin?
Re: coordinate coversion systems [message #68237 is a reply to message #68236] Thu, 08 October 2009 07:10 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
a writes:

> I can see how they get from lat/lon to e/n but not back again. I'll
> keep having a look though, thanks!

MAP_PROJ_INVERSE

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: coordinate coversion systems [message #68238 is a reply to message #68237] Thu, 08 October 2009 07:00 Go to previous message
oxfordenergyservices is currently offline  oxfordenergyservices
Messages: 56
Registered: January 2009
Member
On 8 Oct, 14:52, David Fanning <n...@dfanning.com> wrote:
> a writes:
>> Does anyone have some idl code for converting from UK eastings and
>> northings to latitude and longitude?
>
>> I'm hoping to avoid going back to the original equations and typing
>> and debugging them in idl
>
> The Map_Proj_* routines are built specifically for this
> purpose.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I can see how they get from lat/lon to e/n but not back again. I'll
keep having a look though, thanks!
Re: coordinate coversion systems [message #68239 is a reply to message #68238] Thu, 08 October 2009 06:52 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
a writes:

> Does anyone have some idl code for converting from UK eastings and
> northings to latitude and longitude?
>
> I'm hoping to avoid going back to the original equations and typing
> and debugging them in idl

The Map_Proj_* routines are built specifically for this
purpose.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: coordinate coversion systems
Next Topic: Sky is falling, maybe?

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

Current Time: Wed Oct 08 20:03:08 PDT 2025

Total time taken to generate the page: 0.41280 seconds