Re: coordinate coversion systems [message #68234] |
Thu, 08 October 2009 07:36 |
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  |
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  |
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  |
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  |
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.")
|
|
|