Jump to content
Sign in to follow this  
braudoux

Which Airspace Class to use for MOA areas

Recommended Posts

Hello,
I am creating my own airspace library using the OPEN AIR format. I do understand the classes in the below list but I need to class some areas as MOA but I don't know which AC Class I must assign among this list:
**************************************************************************
AIRSPACE related record types:
==============================
AC class    ;    class = Airspace Class, see below:
*     R restricted
*     Q danger
*     P prohibited
*     A Class A
*     B Class B
*     C Class C
*     D Class D
*     GP glider prohibited
*     CTR CTR
*     W Wave Window

*************************************************************************

1. Which class should I use to create an area with the MOA status ?

2. What class matches with all types available in LNM?

3. Which file includes all areas currently available in LNM and where is it located? By reading the file, I would be able to understand...

Thanks in advance for your help.
Bruno


P3D V4.5 on SSD512 - W10.64
All add-ons on HDD 2To
Intel Core I9+9900K, RAM32Gb, NVidia RTX2080TI, Surround 3 x 27inc, VR Pimax5K+
Saitex X55, Saitek Yoke Pro + Throttle quadrant, Multi panel, Saitek Rudder pedals, Thrustmaster MFD Cougar x2

Share this post


Link to post
Share on other sites

It's decoded right here: https://github.com/albar965/atools/blob/164106b951ea78b962a5ec1ef8e0c28da125a8ed/src/fs/userdata/airspacereaderopenair.cpp#L269-L306
and the list is derived from this documentation here: http://winpilot.com/usersguide/userairspace.asp

Seems MOA is not yet implemented in the format. I could change the code for the next version to pass anything unknown as is to the LNM database.

Alex

Share this post


Link to post
Share on other sites
9 hours ago, albar965 said:

Hi Alex,

Thanks for your reply.

Are all of the L269-L306 area types implemented? I tried W and GP for testing purpose and there is no airspace shown in the map. RMZ works as class G...

I will temporarely use G airspace to display my TRA/TSA as there is no G airspace in France. Thanks anyway and waiting for a further implementation of MOA and Military Use airspace...

Cheers

Bruno 

 


P3D V4.5 on SSD512 - W10.64
All add-ons on HDD 2To
Intel Core I9+9900K, RAM32Gb, NVidia RTX2080TI, Surround 3 x 27inc, VR Pimax5K+
Saitex X55, Saitek Yoke Pro + Throttle quadrant, Multi panel, Saitek Rudder pedals, Thrustmaster MFD Cougar x2

Share this post


Link to post
Share on other sites
9 hours ago, albar965 said:

Yes. All implemented like here: https://github.com/albar965/littlenavmap/blob/75efdb467255f1c7f0b3492ace8457ecd08c1611/src/common/maptypes.cpp#L556-L591

Well, Mode C was wrongly written as "MC" instead of required "MD". Fixed for next.

Alex

If I rely on your last post, the line 574 is the code for MOA : {"M", map::MOA}, so If I assign M to AC class, area should be shown if I select MOA in the selector.

Unfortunately, it is not happening... 

Image 1: areas are G class, all shown.

spacer.png

Image 2: area TSA6 is M class and doesn't show.

spacer.png

Is there anything wrong in my process?

I may have misuunderstood 😉

Extract of my file:

AC M
AN TSA6
SP 0,2,0,176,80
SB -1,-1,-1
AH UNLTD
AL FL195
V Z=200
DP 48:48:13 N 001:52:35 W
DP 48:03:56 N 001:52:31 W
DP 47:43:58 N 002:02:43 W
DP 47:49:16 N 003:05:26 W
DP 48:03:50 N 003:29:19 W
DP 48:17:36 N 003:28:40 W
DP 48:38:02 N 002:53:26 W
...
AC G
AN TSA6C
SP 0,2,0,176,80
SB -1,-1,-1
AH FL275
AL FL195
V Z=200
DP 48:38:02 N 002:53:26 W
DP 48:17:36 N 003:28:40 W
DP 48:03:50 N 003:29:19 W
DP 48:18:14 N 004:30:00 W
DP 48:29:48 N 004:00:30 W
...
AC G
AN TSA8A
SP 0,2,0,176,80
SB -1,-1,-1
AH FL335
AL FL195
V Z=200
DP 48:48:36 N 001:21:59 W
DP 48:43:35 N 000:13:18 E
DP 48:01:03 N 001:01:30 W
DP 47:50:53 N 001:17:54 W

Edited by braudoux

P3D V4.5 on SSD512 - W10.64
All add-ons on HDD 2To
Intel Core I9+9900K, RAM32Gb, NVidia RTX2080TI, Surround 3 x 27inc, VR Pimax5K+
Saitex X55, Saitek Yoke Pro + Throttle quadrant, Multi panel, Saitek Rudder pedals, Thrustmaster MFD Cougar x2

Share this post


Link to post
Share on other sites

This is the problem I mentioned earlier. The function inserts an airspace with empty type if the code is not in the list (first link I posted) and the airspace is ignored.
I'll change this for the next version to pass unknown values on so you can use the LNM definitions as well. Already noted.

Alex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...