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

Home » Public Forums » archive » Re: 3d displaying with x=longitude, y=latitude, z=altitude, but not yet working (T_T)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: 3d displaying with x=longitude, y=latitude, z=altitude, but not yet working (T_T) [message #53749] Wed, 02 May 2007 08:11 Go to next message
Christopher Thom is currently offline  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 #53753 is a reply to message #53749] Wed, 02 May 2007 06:11 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
DirtyHarry writes:

> Based on the a procedure on www.dfanning.com, I tried this way below
> but the results was not what I wanted to. Is there anyone to help
> me?

Well, what did you want?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
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 Go to previous message
kim20026 is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: emacs-snapshot and IDLWAVE
Next Topic: 3d displaying with x=longitude, y=latitude, z=altitude, but not yet working (T_T)

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

Current Time: Wed Oct 08 15:49:13 PDT 2025

Total time taken to generate the page: 0.00607 seconds