3

I need use Delphi to create an application about GPS almanac. Something like this:

enter image description here

Where can I download the data and read them? (to plot them). My user must be select a day and a latitude/longitude position, then I need plot the GPS availability for next 7 days. Where I can download this information and read them with delphi?

LU RD
  • 34,438
  • 5
  • 88
  • 296
Martin
  • 1,065
  • 1
  • 17
  • 36

1 Answers1

11

You can use the method GET from a TIdHTTP and get files from: http://www.navcen.uscg.gov/?Do=gpsArchives

For example:

IdHTTP.Get('http://www.navcen.uscg.gov/?Do=gpsArchives&path=almanacs&year=2012&file=8101&type=almanacContent--almanacId&name=001.ALM', ms);
Whiler
  • 7,998
  • 4
  • 32
  • 56
  • Any idea about as read this data? I see this is a text plain file but how can I plot these data? Thanks – Martin Dec 05 '12 at 14:20
  • This is another question... like @WoutervanNifterick said: Starts with accepting your already asked questions, and then we'll see... – Whiler Dec 05 '12 at 14:22
  • You need to parse it... you can for example load the downloaded data in a `stringlist` and then extract the data you need – Whiler Dec 05 '12 at 15:27
  • The problem is: I don't know which data I need. I'm not a GPS expert but I need plot the GPS availability for next 7 days (to choose the best day) with this input: coordinates point. time zone and start day. Any idea? – Martin Dec 05 '12 at 16:25
  • No idea... you should ask a GPS question without Delphi related stuff to try having an answer from a GPS expert... – Whiler Dec 05 '12 at 16:36