mapcontinents with /hires option failing [message #83326] |
Fri, 22 February 2013 06:28 |
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
|
|
|