Mapping issue with mapcontinents, /usa and /canada ...... [message #93522] |
Wed, 10 August 2016 10:04  |
Geo
Messages: 8 Registered: December 2015
|
Junior Member |
|
|
Hi there,
Does anyone know what is going on here. Basically I am doing some New Graphics mapping stuff. I need continental outlines, but i also want the US states and the Canadian provinces.
This should be straightforward - mapcontinents has /usa and /canada options....
but when I do this the coastal outlines are not consistent.
To show you what I mean - this code shows the issue perfectly with either mapping. Check the outline of Florida or California - the continent outline (black) and the USA outline (red) do not match up at all. Total mess.
I can't believe I'm the first person to notice this - but does anyone have a solution?
Any help appreciated
Cheers
George.
pro map_issue
; North America....
; map = map('geographic', center_longitude=-105, $
; dimensions=[1200,900], limit=[20,-165,85,-45], $
; fill_color="white", linestyle='dotted', $
; label_position=0, font_size=12, $
; margin=[0.05,0.1,0.05,0.1], aspect_ratio=0)
; North America
map = map('orthographic', center_longitude=-105, $
dimensions=[1600,900], limit=[20,-165,85,-45], $
fill_color="white", linestyle='dotted', $
label_position=0, font_size=14, $
margin=[0.05,0.1,0.05,0.1], aspect_ratio=0)
m0 = MAPCONTINENTS(fill_background = 0)
m1 = MAPCONTINENTS(/USA, fill_background = 0, color = 'red')
m2 = MAPCONTINENTS(/CANADA, fill_background = 0, color = 'blue')
end
|
|
|