Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Several questions (https://www.delphipraxis.net/39428-several-questions.html)

jcop 2. Feb 2005 14:39


Several questions
 
Hello all,

I have a few questions, please note that I don't want a solution so i'm not trying to get you guys to create this for me, just point me in the right directions. Sorry that I ask these in English, but I cannot write German very well, but I can understand it perfect.

Problem 1.

I have 3 text files.

- Aircaft.txt
- Airports.txt
- flightplans.txt

The Aircraft.txt has following data.

AC#1,200,"Beech Baron 58"
AC#2,315,"Beech King Air 350"
AC#3,477,"Boeing 737-400"
etc....

Airports.txt contains this data

EDEB,N51* 7.72',E10* 37.25',646
EDEH,N49* 20.66',E8* 29.23',305
EDEL,N49* 54.47',E7* 54.43',292
EDEM,N51* 3.74',E9* 25.28',1312

Flightplans.txt has this data

AC#1,OO-ONJ,99%,WEEK,IFR,6/04:00:00,6/04:39:54,260,F,050,EDEB,6/07:00:00,6/07:39:54,260,F,051,EDEM

You probably guest this already, how can I combine these in Delphi.

The result must be a file (stringgrid?) showing this.

Type = Beech Baron 58
Departure = EDEM
Destination = EDEB
Dep Time=
Arr Time=
etc...

I'm able to import each of these files, but don't know how to start to combine them to check and change the AC#1 to the aircraft name.

What I want to do with the airports.txt files is use the lat and lon details so I can make each flight visible on a map? Also don't exactly how to draw point and lines on a bmp file?

I know it's quite alot, but i'm dealing with these quite some time, if you want I can send a exe files with things I have done until know. Basically splitting up the flightplans.txt file so I can load this inside a stringgrid.

Thanks in advance.
Johan

tommie-lie 2. Feb 2005 14:44

Re: Several questions
 
Why do you create the same thread with the same text once again?

Binärbaum 2. Feb 2005 14:47

Re: Several questions
 
You should rename this thread (and maybe the other one, too), so that everybody can see what this thread is about. :wink:

r_kerber 2. Feb 2005 14:47

Re: Several questions
 
Ich mache hier mal zu. Den Thread gibt es schon.


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:24 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz