SOM and GCTP [message #80311] |
Wed, 30 May 2012 07:26  |
Bruce Bowler
Messages: 128 Registered: September 1998
|
Senior Member |
|
|
Looking for examples of using GCTP calls to convert from SOM(x,y) to Lat/
Lon and vise-versa so I don't have to re-invent the wheel.
Thanks!
Bruce
|
|
|
Re: SOM and GCTP [message #80444 is a reply to message #80311] |
Thu, 31 May 2012 10:23  |
Bruce Bowler
Messages: 128 Registered: September 1998
|
Senior Member |
|
|
On Thu, 31 May 2012 08:43:27 -0700, ben.bighair wrote:
> On May 30, 10:26 am, Bruce Bowler <bbow...@bigelow.org> wrote:
>> Looking for examples of using GCTP calls to convert from SOM(x,y) to
>> Lat/
>> Lon and vise-versa so I don't have to re-invent the wheel.
>>
>> Thanks!
>> Bruce
>
> Hi Bruce,
>
> MAP_PROJ_INIT describes setting up the !MAP structure by specifying a
> number of SOM_xyz parameters. I don't know anything about SOM, but in
> general if you can get your projection stuff initialized then you can
> swap back and forth between coordinate systems using MAP_PROJECT_FORWARD
> and MAP_PROJECT_INVERSE.
>
> Is that helpful or totally useless?
>
> Cheers,
> Ben
Probably completely helpful. I just wish the IDL "documentation" had more
complete examples in it :-(
Bruce
|
|
|
Re: SOM and GCTP [message #80445 is a reply to message #80311] |
Thu, 31 May 2012 08:43  |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
On May 30, 10:26 am, Bruce Bowler <bbow...@bigelow.org> wrote:
> Looking for examples of using GCTP calls to convert from SOM(x,y) to Lat/
> Lon and vise-versa so I don't have to re-invent the wheel.
>
> Thanks!
> Bruce
Hi Bruce,
MAP_PROJ_INIT describes setting up the !MAP structure by specifying a
number of SOM_xyz parameters. I don't know anything about SOM, but in
general if you can get your projection stuff initialized then you can
swap back and forth between coordinate systems using
MAP_PROJECT_FORWARD and MAP_PROJECT_INVERSE.
Is that helpful or totally useless?
Cheers,
Ben
|
|
|