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

Home » Public Forums » archive » Map Projection Clarification
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 Projection Clarification [message #87613 is a reply to message #87612] Tue, 18 February 2014 13:06 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
Hi Morgan-

On Tuesday, February 18, 2014 2:42:25 PM UTC-6, Morgan Silverman wrote:

> I'm trying to set up a map projection using
>
> mapCoord = Obj_New('cgMap', 'Lambert Conformal Conic', Ellipsoid='WGS 84', /GCTP, limit=limit, $
>
> position=plotPosition, center_latitude=38.5, center_longitude=-77.5, STANDARD_PAR1=40, STANDARD_PAR2=-39). I honestly am just following examples I've seen but don't understand what each piece means and can't for the life of me find answers anywhere. At the moment I'm just getting a white screen when using mapCoord compared to cgMap_set.

Well, since you're using objects, you have to get into a slightly different mindset. The OBJ_NEW() command simply _initializes_ the object. You still have to draw it:

mapCoord->Draw

This invokes the Draw method of the object.

> Is there a list of different ellipsoid options to use?

According to the documentation for cgMap (https://www.idlcoyote.com/idldoc/maps/cgmap__define.html), it is basically a wrapper for MAP_PROJ_INIT : http://exelisvis.com/docs/MAP_PROJ_INIT.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Function Graphics Questions
Next Topic: gridding XYZ to surface: how to blank no data?

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

Current Time: Wed Oct 08 19:59:36 PDT 2025

Total time taken to generate the page: 0.00400 seconds