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

Home » Public Forums » archive » IDL 5.0 observations
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: IDL 5.0 Observations [message #9183 is a reply to message #9092] Mon, 09 June 1997 00:00 Go to previous messageGo to previous message
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
> Example Code: ---------------------------------------------------------
>
> Map_Set, /Grid, /Continent
> TVLCT, 255, 255, 0, 35
> lon=[-81.2500,83.7500, 83.7500,-81.2500]
> lat=[ 28.7500,28.7500, 31.2500,31.2500]
> Polyfill, lon, lat, Color=35, /Data
>
> Known Workarounds or Fixes: -------------------------------------------
>
> None known.
>
> RSI Technical Support Response: ---------------------------------------
>
> Pending.


Hi Lena, this is your old officemate, Andy!
A known workaround would be to include the Greenwich Meridian when
specifying the coordinates of a polygon which crosses longitude=0.
Your example becomes...

Map_Set, /Grid, /Continent
lon=[-81.25, 0.00, 83.75, 83.75, 0.00, -81.25]
lat=[ 28.75, 28.75, 28.75, 31.25, 31.25, 31.25]
Polyfill, lon, lat, Color=35, /Data

This should work for IDL 4 and 5. A similar workaround is needed
when crossing the dateline and using polyfill in version 5.
Thanks for pointing this out! Let's hope it gets fixed.

--
Andrew F. Loughe |
afl@cdc.noaa.gov
University of Colorado, CIRES Box 449 |
http://cdc.noaa.gov/~afl
Boulder, CO 80309-0449 | phn:(303)492-0707
fax:(303)497-7013
------------------------------------------------------------ ---------------
"I do not feel obliged to believe that the same God who has endowed us
with
sense, reason, and intellect has intended us to forego their use."
-Galileo
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sell YourPhotosNYC.Agency
Next Topic: writing PCX files

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

Current Time: Fri Oct 10 13:13:00 PDT 2025

Total time taken to generate the page: 0.87793 seconds