Islands disappear with cgmap_GSHHS and GSHHS 2.3.0 [message #89568] |
Mon, 27 October 2014 09:19  |
Sverre Solberg
Messages: 18 Registered: February 2005
|
Junior Member |
|
|
Hi,
perhaps I have missed some basic info in some of the gshhs discussion, but I have a problem that islands seem to disappear when using cgmap_gshhs (newest library release of data and procedures). This is a code example. There should be lots of small islands here. Am I doing something wrong?
----------------------------------------------------------
datafile = 'gshhg-bin-2.3.0/gshhs_h.b'
P0lat = 60
P0lon = 10
minlat = 58.5
maxlat = 59.5
minlon = 5
maxlon = 6.5
cgDisplay, 800, 1200
pos = [0.1,0.1, 0.9, 0.8]
cgMap_Set, P0lat, P0lon, Position=pos, /transverse_mercator,Color='black',$
limit = [minlat, minlon, maxlat, maxlon]
cgColorfill, [pos[0], pos[0], pos[2], pos[2], pos[0]], $
[pos[1], pos[3], pos[3], pos[1], pos[1]], $
/Normal, Color='sky blue'
cgMap_GSHHS, datafile, Fill=1, Level=4, Color='black', /Outline
map_grid,/label
cgPlotS, [pos[0], pos[0], pos[2], pos[2], pos[0]], $
[pos[1], pos[3], pos[3], pos[1], pos[1]], $
/Normal, Color='black', Thick=2
|
|
|
|
|
|