Re: 3d displaying with x=longitude, y=latitude, z=altitude, but not yet working (T_T) [message #53749] |
Wed, 02 May 2007 08:11  |
Christopher Thom
Messages: 66 Registered: October 2006
|
Member |
|
|
Quoth DirtyHarry:
> Good day, everyone. I would like to ask a question on 3d displaying.
>
> I have this data file.
>
> dat1.txt:
> Sokcho 38.2500 128.5667 17.8
> Cheorwon 38.1500 127.3000 154.2
> Dongducheon 37.9000 127.0667 112.5
> Daeguallyeong 37.6833 128.7667 842.5
> Chuncheon 37.9000 127.7333 76.8
>
> I read this file as follows.
> readcol, 'dat1.txt', city, lat, lon, alt, format = 'A, 3F'
Maybe I missed something...but where does your readcol routine come from?
If it's the idlastro one that I'm using, the format statement isn't
something that I've seen before, so I tried it with your data:
------
IDL> readcol, 'dat1.txt', city, lat, lon, alt, format = 'A, 3F'
% READCOL: Illegal format 3F in field 1
% Error occurred at: READCOL 203
------
cheers
chris
|
|
|
|
Re: 3d displaying with x=longitude, y=latitude, z=altitude, but not yet working (T_T) [message #53812 is a reply to message #53749] |
Wed, 02 May 2007 14:52  |
kim20026
Messages: 54 Registered: November 2006
|
Member |
|
|
Yes, Chris! Readcol is from IDL_Astro... O.K. I will try : format =
'A, F, F, F'
David, What I want to do is to display altitude in 3d:
x = lon
y = lat
z = alt
and if it is possible, I want to present this on the Korean map...
I found the scatter3D routine in your website, and tried to do this
with it, but still not working. Please give me some suggestions.
|
|
|