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

Home » Public Forums » archive » Re: Map Projection Doom and Gloom
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 Doom and Gloom [message #66633 is a reply to message #66632] Sat, 30 May 2009 11:22 Go to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <news@dfanning.com> wrote in message
news:MPG.248b0b41b41ca1f498a6ca@news.giganews.com...
...
> Here is the crux of my advice: If you are going to use
> a map structure for *ANYTHING* (and I really do mean
> *ANYTHING*!!), then be absolutely sure you execute
> the MAP_PROJ_INIT command *IMMEDIATELY* prior to using
> the friggin' thing!
...

sounds scary.

I call map_proj_init then the call window, and then immediately call


IDL> mapStruct = MAP_PROJ_INIT(117,
LIMIT=[-90,-180,90,180],CENTER_LONGITUDE=0)
IDL> window,xsize = 1000,ysize = 500
IDL> PLOT, mapStruct.uv_box[[0,2]],mapStruct.uv_box[[1,3],/nodata

but then I do a lot of calculations, drawing polygons etc,
and finally call the map_continents to overlay those lines.

IDL> result = MAP_PROJ_FORWARD(lon,lat,map_structure = mapstruct)
IDL> MAP_CONTINENTS, /hi,MAP_STRUCTURE = mapstruct,/coasts,/countries,/usa


Am I in hell, and not noticing? :)

what is the problem you are finding?

cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: How to extract latitude and longitude information from HDF file?
Next Topic: A Complete Web Development Solution | Halwasiya Infosys

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

Current Time: Fri Nov 28 13:08:03 PST 2025

Total time taken to generate the page: 0.63723 seconds