AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

Several questions

Ein Thema von jcop · begonnen am 2. Feb 2005 · letzter Beitrag vom 2. Feb 2005
 
jcop

Registriert seit: 16. Dez 2004
9 Beiträge
 
Delphi 2005 Personal
 
#1

Several questions

  Alt 2. Feb 2005, 14:39
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
 
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:26 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz