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

Home » Public Forums » archive » Re: mapcontinents with /hires option failing
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: mapcontinents with /hires option failing [message #83324 is a reply to message #83323] Fri, 22 February 2013 06:41 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul Mallas writes:

> I have found a problem with mapcontinents using the /hires option (running IDL 8.2.2 on Windows 7 64 bit)
>
> I seem to recall it working fine before if prior IDL versions, so I am not sure if it actually a bug in the code or perhaps the data is just corrupted in the location where I am looking (like the vertices are in the wrong order in a shapefile and the order determines the what is inside the shape and what is outside). But it appears that the for this case, the continent is mapped incorrectly and the Mediterranean Sea is mapped as land

I'm guessing it probably has more to do with the Map or MapContinents
functions not working properly, because there doesn't seem to be
anything wrong with the HIRES data. These commands work correctly:

mapCoord = cgMap('Equirectangular', LIMIT=[35, -6 , 37 , -4], $
Position=[0.1, 0.1, 0.9, 0.9])
cgDisplay
mapCoord ->draw
cgColorFill, Position=[0.1, 0.1, 0.9, 0.9], color='sky blue'
cgMap_Continents, color='tan', MAP=mapCoord, /Fill, /HiRes
cgMap_Grid, /Box_Axes, /Label, Map=mapCoord

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mapcontinents with /hires option failing
Next Topic: Re: Contour mapping of elevation points

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

Current Time: Fri Oct 10 01:41:48 PDT 2025

Total time taken to generate the page: 0.16257 seconds