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 #83317] Fri, 22 February 2013 10:00 Go to previous message
PMan is currently offline  PMan
Messages: 61
Registered: January 2011
Member
On Friday, February 22, 2013 9:28:21 AM UTC-5, Paul Mallas wrote:
> 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. See the example below:
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
> pro mapTest
>
> compile_opt idl2
>
>
>
> map1 = MAP('Geographic', $
>
> LIMIT=[35, -6 , 37 , -4], $
>
> FILL_COLOR='light_blue', $
>
> WINDOW_TITLE='Straits of Gibraltar')
>
>
>
> grid1 = map1.MAPGRID
>
> grid1.LINESTYLE = 'dotted'
>
> grid1.LABEL_SHOW = 0
>
>
>
> m1 = MAPCONTINENTS(FILL_COLOR='beige')
>
> wait, 3
>
> m1 = MAPCONTINENTS(FILL_COLOR='green', /hires)
>
>
>
> end

David, thanks for the taking a look. Chris, thanks for the tip.

Regards,
Paul
[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: Wed Oct 08 17:40:08 PDT 2025

Total time taken to generate the page: 0.00542 seconds