Skip to content

Planes on offline map #37

Answered by szpajder
it9ybg asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it is possible.

  • Enable logging of aircraft positions to a separate file in a Basestation format (--output decoded:basestation:file=/some_dir/positions.log,rotate=daily).

  • Extract required fields from the Basestation file - latitude and longitude is required as a minimum, everything else is optional. For example, in order to create a new file named positions.csv containing only coordinates, use cut -d, -f15,16 /some_dir/positions.log > positions.csv. 15 and 16 are field numbers to be extracted, numbering starts from 1.

  • Open the newly created file with a text editor and add a header row at the top with field names. Save the file. It should look more or less like this:

lat,lon
32…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by it9ybg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants