|
@@ -141,7 +141,7 @@ class SctEseFormat:
|
|
for line in config['SIDSSTARS']:
|
|
for line in config['SIDSSTARS']:
|
|
route = self.parseArrivalRoute(line, airport)
|
|
route = self.parseArrivalRoute(line, airport)
|
|
if None != route and route.name in allowedRoutes:
|
|
if None != route and route.name in allowedRoutes:
|
|
- self.arrivalRoutes.setdefault(route.name, []).append(route)
|
|
|
|
|
|
+ self.arrivalRoutes.setdefault(route.runway, []).append(route)
|
|
|
|
|
|
def __init__(self, sctFilepath : str, eseFilepath : str, airport : str, allowedRoutes : list):
|
|
def __init__(self, sctFilepath : str, eseFilepath : str, airport : str, allowedRoutes : list):
|
|
self.arrivalRoutes = {}
|
|
self.arrivalRoutes = {}
|
|
@@ -149,7 +149,4 @@ class SctEseFormat:
|
|
self.airports = {}
|
|
self.airports = {}
|
|
|
|
|
|
self.extractWaypoints(sctFilepath)
|
|
self.extractWaypoints(sctFilepath)
|
|
- print('Extracted ' + str(len(self.waypoints)) + ' waypoints')
|
|
|
|
-
|
|
|
|
self.extractArrivalRoutes(eseFilepath, airport, allowedRoutes)
|
|
self.extractArrivalRoutes(eseFilepath, airport, allowedRoutes)
|
|
- print('Extracted ' + str(len(self.arrivalRoutes)) + ' arrival routes for ' + airport)
|
|
|