You are here: Information from a file ... « PHP Language « IT news, forums, messages
Information from a file ...

Posted by elyob on 07/25/05 18:19

I've got a text file full of GPS information and am looking at pulling out
the relevant information and storing in an array. What's the best method of
getting this information out? Here's an example of the data file ... Thanks.


H SOFTWARE NAME & VERSION
I GPSU 4.20 01 FREEWARE VERSION
S DateFormat=dd/mm/yyyy
S Units=M,M
S SymbolSet=3

H R DATUM
M E WGS 84 100 0.0000000E+00 0.0000000E+00 0 0 0

H COORDINATE SYSTEM
U LAT LON DM

F ID---- Latitude Longitude Symbol------- T Alt(m) Comment
W MOB001 N51°21.4870' W000°18.1860' filled circle I 0.0
W MOB002 N51°11.0860' W000°19.4050' filled circle I 7.0

H TRACK SUMMARY
H Track Pnts. Date Time StopTime seconds m
m/s Alt(m)
H 193 24/07/2005 10:08:01 18:59:54 31913 92267
2.9 1437.0

F Latitude Longitude Alt(m) Date Time S seconds
m m/s
T N51°21.5730' W000°18.4630' 27.0 24/07/2005 10:08:01 1
T N51°21.5900' W000°18.4190' 27.0 24/07/2005 10:08:05 0 4
60 15.0

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация