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

Home » Public Forums » archive » map projections webinar
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 projections webinar [message #78047 is a reply to message #77920] Wed, 19 October 2011 12:00 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> And I put an attempt at a Function Graphics file
> here:
>
> http://www.idlcoyote.com/misc/ng_geotiff_image.pro
>
> I cannot size the image appropriately, or even leave
> room in the window for the title. If someone could
> make it work, I would be *extremely* grateful. :-)

Note to self: No more programming at 3AM!!

I just turned my attention back to this project, and
realized that the ng_geotiff_image.pro program I put
up there last night (early this morning!) wasn't
working. I've replaced it with one that is:

http://www.idlcoyote.com/misc/ng_geotiff_image.pro

Well, "working" as in compiles and displays something.

It doesn't work in that I can't appear to "position"
a map object in the graphics window. In other words,
this code appears to ignore the POSITION keyword:

m = MAP('Albers Equal Area', $
ELLIPSOID='WGS 84', $ ; WGS84
CENTER_LATITUDE=geotag.PROJNATORIGINLATGEOKEY, $
CENTER_LONGITUDE=geotag.PROJNATORIGINLONGGEOKEY, $
STANDARD_PAR1=geotag.PROJSTDPARALLEL1GEOKEY, $
STANDARD_PAR2=geotag.PROJSTDPARALLEL2GEOKEY, $
XRANGE=xrange, YRANGE=yrange, $
POSITION=[0.025, 0.025, 0.975, 0.85])

Well, it ignores the XRANGE and YRANGE keywords, too,
but this is an error I know about. I fix that error
by doing this:

m.xrange = xrange
m.yrange = yrange

But, when I try the same technique with the ignored
POSITION keyword:

m.position =[0.025, 0.025, 0.975, 0.85]

I am given this error:

% MAPPROJECTION: Unknown property: POSITION

There are other problems as well, but if I could solve
this one I would be moving forward.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Cursor in IDL 8 on Lion
Next Topic: Re: get lat/lon from modis SIN grid

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

Current Time: Fri Oct 10 06:25:27 PDT 2025

Total time taken to generate the page: 0.16084 seconds