-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenAir extended format: use AY indication for colouring with AC UNCLASSIFIED #1340
Comments
Is there an 'official' description of the OpenAir extended format ? Or do we have to agree with this implementation? |
This is the "official" documentation: |
I'm familiar with this document, but it doesn't provide much information about the extended format (Extensions suggested by the Naviter Company?). To implement the OpenAir extended format, we need to understand its specifications. |
The AY and extended format is introduced by openAIP i belief. Info can be found here https://www.openaip.net/docs. And i agree that looking at the type can be useful (even if AC field is given). Example a "restriced airspace" all have class R in the AC field but can mean different things RMZ or TMZ, ... I also find marking for example "CTR" differently useful. |
@kobedegeest
And also here in the openaip-openair-parser:
Hence the problem, when you have AC UNCLASSIFIED (because it's not A...G), and AY R, it shows up (=is represented in the UI) as unclassified when it should show up as Restricted. |
The OpenAIP documantation says:
A search for AC tags following AY tags in some commonly used airspace files (xcsoar-data-content) shows:
The questions are:
|
Well, I guess this as to be "flexible" at least in a first approach, and allow that some AC will not have AY, and in other cases there will be an AY after the AC...I know it's easy to say, but a pain to implement... |
The way I understand this, is that the format can be chosen per record. Both formats agree on the basic airspace classes. As long as its one of a-f, you check for the presence of AY. |
Can we agree on the following: |
if any of these values appear in AC: Then we check for presence of AY. |
Basically this list needs to be extended, with the possible values.
here: XCSoar/src/Airspace/AirspaceParser.cpp Lines 77 to 80 in 010af8a
Then the parsing needs to be adapted to parse the logic of following up on AY. XCSoar/src/Airspace/AirspaceParser.cpp Lines 658 to 663 in 010af8a
And extend the rendering defaults for the Airspaces: XCSoar/src/Renderer/AirspaceRendererSettings.cpp Lines 39 to 64 in 010af8a
|
|
Well, it looks like UNCLASSIFIED is widely used now. As indicated above, it's also listed:
|
…rmat The AY tag is interpreted as airspace class, according to the discussion in XCSoar#1340
…rmat The AY tag is interpreted as airspace class, according to the discussion in XCSoar#1340
This does not help directly with solving this issue but I wanted to shed some insights on this "extended format" that we use with openAIP. Actually, this was proposed by Naviter, as already mentioned in one comment above. We just picked up the idea and use it as another export/import format for openAIP and extended it with one tag, the "AI" tag. Reason behind this was that we didn't want to loose metadata that is already present in the system when exporting to openAIR, e.g. using only AC instead of AC+AY. Also, the system may also includes multiple frequencies for each airspace and we are now able to at least dump the "primary" one including the ground station callsign with using AF+AG tags. |
XCSoar version: 7.41
What should XCSoar do differently, what functionality should be added?
Currently the airspace colour is based on the Airspace Class: AC
Following the Extended OpenAir format parsing #1152 the colouring should be based on the airspace type (AY) when AC is set to UNCLASSIFIED.
For exemple, this Airspace is declared as
And is displayed using the "Unknown" color:
It should be displayed using the "Prohibited" color.
What are you trying to do, what is the use case for the suggestion?
Fully implement the OpenAir extended format so that the AY type indication is taken into account in the airspace colour
The text was updated successfully, but these errors were encountered: