Hi
another edge case with projections and wanted output - or not.
pro map_problem
p0lat = 0
p0lon = 180
rot = 0
struct=create_struct('CON_COLOR', 12, $
'MLINETHICK', 2, $
'MLINESTYLE', 0, $
'E_CONTINENTS', create_struct('FILL_CONTINENTS', 1,
'COLOR', 12), $
'ISOTROPIC', 0, $
'CENTRAL_AZIMUTH', 0.E, $
'CLIP', 1, $
'CONTINENTS', 1, $
'HIRES', 0, $
'NOERASE', 0, $
'NOBORDER', 0, $
'CHARSIZE', 1.1894189E, $
'POSITION', [0.067340069E,0.2857143E,0.80808079E,
0.80238092E], $
'LIMIT', [0.0E,-180E,90.E, 180E], $
'CYLINDRICAL', 1, $
'title', '' )
map_set, p0lat, p0lon, rot, _extra=struct , grid=0
; "Greenwich, London"
plots, 0, 51.48, psym=1, symsize=0.5
; "Sri Lanka"
plots, 80.84, 7.36, psym=1, symsize=0.5
END
No warning, no error message, just more water than expected or england
smaller than sri lanka.
If one changes p0lon to 177 it looks better. But don't try it with clip=0.
cheers
Reimar
|