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

Home » Public Forums » archive » mapcontinents with /hires option failing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
mapcontinents with /hires option failing [message #83326] Fri, 22 February 2013 06:28
PMan is currently offline  PMan
Messages: 61
Registered: January 2011
Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL use by OS
Next Topic: Re: mapcontinents with /hires option failing

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

Current Time: Wed Oct 08 15:11:36 PDT 2025

Total time taken to generate the page: 0.00579 seconds