Skip to content

Any way to extract airspaces from the navdata sql? #1088

Answered by albar965
sanjaypopcorn asked this question in Q&A
Discussion options

You must be logged in to vote

The format is quite simple. Reading and writing is implemented here:

https://github.com/albar965/atools/blob/master/src/fs/common/binarygeometry.h
https://github.com/albar965/atools/blob/master/src/fs/common/binarymsageometry.cpp

It starts with an unsigned 32 bit integer which contains the number of points. Then following single precision floating point number pairs for lon/lat.

The geometry is pre-calculated which means that circles and arcs are converted to polygons.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sanjaypopcorn
Comment options

@albar965
Comment options

@sanjaypopcorn
Comment options

@albar965
Comment options

@sanjaypopcorn
Comment options

Answer selected by sanjaypopcorn
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