Tuesday 30 April 2019

Parsing NASR data: APT file (landing facility data)

Dictionary that keeps information about 'fields boundary' of attributes we want to extract looks as follows:

apt_fields = {'APT': {'FAC_TYPE': (13, 15),
                      'LOC_IDENTIFIER': (4, 28),
                      'EFF_DATE': (10, 32),
                      'CITY_NAME': (40, 94),
                      'OFFICIAL_NAME': (50, 134),
                      'ARP_LAT': (15, 524),
                      'ARP_LON': (15, 551),
                      'ARP_ELEV': (7, 579),
                      'MAG_VAR': (3, 587),
                      'MAG_VAR_EPOCH_YEAR': (4, 590),
                      'ARFF_TYPE_DATE': (15, 843),
                      'FUEL_TYPE': (40, 901),
                      'REPAIR_SERVICES': (5, 941),
                      'BOTTLED_OXYGEN': (8, 951),
                      'BULK_OXYGEN': (8, 959)
                      },
              'ATT': {'ATTENDENCE_SCHEDULE': (108, 19)}
              }

Saturday 6 April 2019

QGIS Plugin AviationPolygonCreator

As the name suggests with this plugin will be helpful to create polygons that are common in various aeronautical publications and other legal documents. The result of this plugin will be, of course, polygon, from which you will be able to derived WKT string and use it to build airspaces with all attributes, that are relevant for your project. A brief introduction to the problem of 'airspace shapes' you can find in this post: Airspaces - grouping by shape.