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

Home » Public Forums » archive » Map an image onto a sphere
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: Map an image onto a sphere [message #90937 is a reply to message #90903] Thu, 14 May 2015 21:59 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Monday, May 11, 2015 at 3:23:02 PM UTC-3, Joe Llama wrote:
>
> But I can't seem to change it so that the projection is onto a sphere instead. Any help would be greatly appreciated. I would also ideally like to be able to specify the central longitude and latitude.


It all depends on what you mean by "project onto a sphere". I would say that when you use any map projection (Mollweide included, as you did) you are projection onto a sphere.

I guess you only need to pick the projection you want, and figure out the parameters to pass to map(), since each of IDL's many map projections is defined by a different set of parameters:

http://www.exelisvis.com/docs/map_proj_init.html

And here are a few examples

http://www.exelisvis.com/docs/mapProjections.html

This may also help choose the projection (note that some projections have more than one name, so the names may differ between IDL and Wikipedia).

My best guesses for the projection you want are stereographic (Chris' reply), orthographic, or perspective.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: % Program caused arithmetic error: Floating illegal operand
Next Topic: Re: Help extracting a single column from dat file

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

Current Time: Wed Oct 08 16:10:51 PDT 2025

Total time taken to generate the page: 0.00437 seconds