| Re: MAP_CONTINENTS,/HIRES does not match MAP_CONTINENTS,/HIRES,/USA [message #84094 is a reply to message #84089] |
Wed, 24 April 2013 18:32  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Edward Hyer writes:
>
> What this means, for instance, is that you can either have the Bahamas more-or-less correct (using the USA flag, oddly enough), or you can show Cuba on the map, but you cannot have both, because the Florida coastline drawn by those two commands does not match.
>
> I don't have the latest GSHHS (I might be using 1.5 or some other old version), but I note that big islands are missing from GSHHS at some resolutions, and there is inconsistency among resolutions about which islands are present or absent (e.g. Grand Bahama is missing from the 'coarse' map, and Exuma is present in 'coarse' and 'low' but missing from all the finer resolutions) and the finest data does not have all the islands (not even all the ones that
MAP_CONTINENTS,/US,/HIRES does).
>
> I've had better IDL days.
Join the club! ;-)
I tried version 2.2 of GSHHS in both the i (intermediate resolution) and
h (high resolution) form, and they both work great. :-)
map = cgmap('equirectangular',center_lat=21.0935,center_lon=-73.34 84, $
limit=[21.0935-5, -73.3484-12,21.0935+10, -73.3484+10])
gshhs_file = 'gshhs_i.b'
map->Draw
cgMap_GSHHS, gshhs_file, Map=map
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.")
|
|
|
|