comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » map_set issue
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
map_set issue [message #77902] Tue, 27 September 2011 08:05
Reimar Bauer is currently offline  Reimar Bauer
Messages: 14
Registered: August 2002
Junior Member
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
[Message index]
 
Read Message
Previous Topic: Best way to share 'enum' between various functions
Next Topic: combine CATCH and MESSAGE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:53:27 PDT 2025

Total time taken to generate the page: 0.98295 seconds