problem in using function ll_to_utm.pro [message #60479] |
Tue, 20 May 2008 17:19 |
Baikal
Messages: 4 Registered: May 2008
|
Junior Member |
|
|
To all,
I am a physical oceanographer who needs to use your idl program in my
model output post-processing.
While utilizing your utm conversion program (ll_to_utm.pro) in my
research work, I have a problem due to zone change so that I encounter
a discontinuity problems as follows;
test_lon=[125.999,126.000] ; define test lon & lat
test_lat=[36.000,36.000]
; test output
for i=0,1 do
print,i,test_lon(i),test_lat(i),ll_to_utm(test_lon(i),test_l at(i))
0 125.999 36.0000 770330.54 3988106.3
1 126.000 36.0000 229579.34 3988109.1
I undrestand this is due to zone change from 51 to 52.
I wonder how I can avoid this trouble in map drawing where my
coastline data points lie over 125 to 127 E longitude.
I appreciate your helps.
|
|
|