[gradsusr] [BULK] Re: shore line and mark the station
Galebonwe Ramaphane
GRamaphane at gov.bw
Mon Jun 20 04:31:45 EDT 2011
Hi Rusmawan,
There is a more robust procedure (which I adopted from Hernan Sala);
*First introduce the world coordinates of your point
Lon1 = 54
Lat1 = 25.5
*convert your world coordinates to XY coordinates.
‘q w2xy ‘lon1’ ‘lat1
Say result
*load them into new variables x1 and y1
X1 = subwrd(result , 3)
Y1 = subwrd(result , 6)
*Draw a marker at x1,y1
‘draw mark ‘5’ ‘x1’ ‘y1’ ‘0.08
*write your text at the mark with a slight offset from the point
‘draw string ‘x1+0.1’ ‘y1’ ‘your_text
Good luck.
Galebonwe Ramaphane
Department of Meteorological Services
P.O. BOX 10100
Gaborone
Botswana
Tel: +267 3612200
Mobile: +267 74435261
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110620/e8ad7637/attachment-0003.html
More information about the gradsusr
mailing list