@squawk/flightplan 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/route-distance.d.ts +14 -3
- package/dist/route-distance.d.ts.map +1 -1
- package/dist/route-distance.js +6 -3
- package/dist/route-geometry.d.ts +5 -0
- package/dist/route-geometry.d.ts.map +1 -1
- package/dist/route-geometry.js +22 -8
- package/dist/route-timing.d.ts +2 -0
- package/dist/route-timing.d.ts.map +1 -1
- package/dist/route-timing.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -259,7 +259,7 @@ console.log(result.totalDistanceNm, result.estimatedTimeEnrouteHrs);
|
|
|
259
259
|
|
|
260
260
|
**Returns:** `RouteDistanceResult` with:
|
|
261
261
|
|
|
262
|
-
- `legs` - ordered `RouteLeg` values, each with `from`/`to` point labels, their `fromLat`/`fromLon`/`toLat`/`toLon` coordinates in decimal degrees, `distanceNm`, `cumulativeDistanceNm`, `crossesGap`, which is true when the leg spans a published gap in the airway it came from (the leg is a straight line that counts toward the total but is not a flyable airway segment),
|
|
262
|
+
- `legs` - ordered `RouteLeg` values, each with `from`/`to` point labels, their `fromLat`/`fromLon`/`toLat`/`toLon` coordinates in decimal degrees, `distanceNm`, `cumulativeDistanceNm`, `crossesGap`, which is true when the leg spans a published gap in the airway it came from (the leg is a straight line that counts toward the total but is not a flyable airway segment), `unusable`, which is true when the leg is an airway segment the FAA marks unusable (counted toward the total but not to be flown), and `procedureAirportMismatch`, which is true when the leg runs along a SID or STAR filed at an airport it does not serve (the element's `airportMismatch`), or joins the route to that airport: the leg in from the departure airport for a SID, the leg out to the arrival airport for a STAR
|
|
263
263
|
- `totalDistanceNm` - total great-circle distance in nautical miles
|
|
264
264
|
- `estimatedTimeEnrouteHrs` - ETE in hours, or `undefined` when no ground speed was given
|
|
265
265
|
- `unresolvedElements` - route elements that could not contribute coordinates
|
package/dist/route-distance.d.ts
CHANGED
|
@@ -37,6 +37,15 @@ export interface RouteLeg {
|
|
|
37
37
|
* not be flown, so the route is not valid as filed.
|
|
38
38
|
*/
|
|
39
39
|
unusable: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether this leg runs along, or joins the route to, a SID or STAR the
|
|
42
|
+
* route files at an airport no adaptation of it serves (the procedure
|
|
43
|
+
* element's `airportMismatch`): the procedure's own legs, plus the leg in
|
|
44
|
+
* from the departure airport for a SID or out to the arrival airport for a
|
|
45
|
+
* STAR. The leg is measured like any other, but the route is not valid as
|
|
46
|
+
* filed.
|
|
47
|
+
*/
|
|
48
|
+
procedureAirportMismatch: boolean;
|
|
40
49
|
}
|
|
41
50
|
/**
|
|
42
51
|
* Result of computing route distance and estimated time enroute from a
|
|
@@ -71,9 +80,11 @@ export interface RouteDistanceResult {
|
|
|
71
80
|
* Airway segments use the FAA-published segment distance where the source
|
|
72
81
|
* publishes a positive one and the airway element says which direction it is
|
|
73
82
|
* flown in, falling back to great-circle computation otherwise. A leg that spans a published gap in its airway is still measured
|
|
74
|
-
* as a straight line and counted, but is flagged with `crossesGap`,
|
|
75
|
-
* on an airway segment the FAA marks unusable is flagged with `unusable`,
|
|
76
|
-
*
|
|
83
|
+
* as a straight line and counted, but is flagged with `crossesGap`, a leg
|
|
84
|
+
* on an airway segment the FAA marks unusable is flagged with `unusable`, and
|
|
85
|
+
* a leg along or into a procedure filed at an airport it does not serve is
|
|
86
|
+
* flagged with `procedureAirportMismatch`, so the caller can see that the
|
|
87
|
+
* route is not valid as filed.
|
|
77
88
|
*
|
|
78
89
|
* ```typescript
|
|
79
90
|
* import { createFlightplanResolver, computeRouteDistance } from '@squawk/flightplan';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-distance.d.ts","sourceRoot":"","sources":["../src/route-distance.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAO/D;;GAEG;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IAC1D,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,2DAA2D;IAC3D,eAAe,EAAE,MAAM,CAAC;IACxB,uFAAuF;IACvF,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C;;;;OAIG;IACH,kBAAkB,EAAE,YAAY,EAAE,CAAC;CACpC;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,WAAW,EAClB,aAAa,CAAC,EAAE,MAAM,GACrB,mBAAmB,CAyCrB"}
|
package/dist/route-distance.js
CHANGED
|
@@ -23,9 +23,11 @@ import { extractGeoPoints } from './route-geometry.js';
|
|
|
23
23
|
* Airway segments use the FAA-published segment distance where the source
|
|
24
24
|
* publishes a positive one and the airway element says which direction it is
|
|
25
25
|
* flown in, falling back to great-circle computation otherwise. A leg that spans a published gap in its airway is still measured
|
|
26
|
-
* as a straight line and counted, but is flagged with `crossesGap`,
|
|
27
|
-
* on an airway segment the FAA marks unusable is flagged with `unusable`,
|
|
28
|
-
*
|
|
26
|
+
* as a straight line and counted, but is flagged with `crossesGap`, a leg
|
|
27
|
+
* on an airway segment the FAA marks unusable is flagged with `unusable`, and
|
|
28
|
+
* a leg along or into a procedure filed at an airport it does not serve is
|
|
29
|
+
* flagged with `procedureAirportMismatch`, so the caller can see that the
|
|
30
|
+
* route is not valid as filed.
|
|
29
31
|
*
|
|
30
32
|
* ```typescript
|
|
31
33
|
* import { createFlightplanResolver, computeRouteDistance } from '@squawk/flightplan';
|
|
@@ -63,6 +65,7 @@ export function computeRouteDistance(route, groundSpeedKt) {
|
|
|
63
65
|
cumulativeDistanceNm: totalDistanceNm,
|
|
64
66
|
crossesGap: from.gapToNext === true,
|
|
65
67
|
unusable: from.unusableToNext === true,
|
|
68
|
+
procedureAirportMismatch: from.procedureMismatchToNext === true,
|
|
66
69
|
});
|
|
67
70
|
}
|
|
68
71
|
const estimatedTimeEnrouteHrs = groundSpeedKt !== undefined && groundSpeedKt > 0 ? totalDistanceNm / groundSpeedKt : undefined;
|
package/dist/route-geometry.d.ts
CHANGED
|
@@ -50,6 +50,11 @@ export interface GeoPoint {
|
|
|
50
50
|
* marks unusable.
|
|
51
51
|
*/
|
|
52
52
|
unusableToNext?: true;
|
|
53
|
+
/**
|
|
54
|
+
* Set when the leg from this point to the next runs along, or joins the
|
|
55
|
+
* route to, a SID or STAR filed at an airport no adaptation of it serves.
|
|
56
|
+
*/
|
|
57
|
+
procedureMismatchToNext?: true;
|
|
53
58
|
}
|
|
54
59
|
/**
|
|
55
60
|
* Walks the route elements and extracts an ordered array of geographic
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-geometry.d.ts","sourceRoot":"","sources":["../src/route-geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAM/D;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;CACb;AAMD;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;;OAGG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"route-geometry.d.ts","sourceRoot":"","sources":["../src/route-geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAM/D;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;CACb;AAMD;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ,mDAAmD;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;;OAGG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,IAAI,CAAC;CAChC;AAuBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,YAAY,EAAE,GAAG;IAC1D,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,kBAAkB,EAAE,YAAY,EAAE,CAAC;CACpC,CA0HA;AAMD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,UAAU,EAAE,CAGnE;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,UAAU,GAAG,SAAS,CAS5E"}
|
package/dist/route-geometry.js
CHANGED
|
@@ -53,14 +53,17 @@ export function extractGeoPoints(elements) {
|
|
|
53
53
|
last.precomputedDistanceToNextNm === undefined) {
|
|
54
54
|
last.precomputedDistanceToNextNm = point.precomputedDistanceToNextNm;
|
|
55
55
|
}
|
|
56
|
-
// Likewise carry a gap or
|
|
57
|
-
//
|
|
56
|
+
// Likewise carry a gap, unusable or procedure-mismatch marker, so the
|
|
57
|
+
// leg out of the merged point is still reported.
|
|
58
58
|
if (point.gapToNext) {
|
|
59
59
|
last.gapToNext = true;
|
|
60
60
|
}
|
|
61
61
|
if (point.unusableToNext) {
|
|
62
62
|
last.unusableToNext = true;
|
|
63
63
|
}
|
|
64
|
+
if (point.procedureMismatchToNext) {
|
|
65
|
+
last.procedureMismatchToNext = true;
|
|
66
|
+
}
|
|
64
67
|
return;
|
|
65
68
|
}
|
|
66
69
|
points.push(point);
|
|
@@ -115,14 +118,25 @@ export function extractGeoPoints(elements) {
|
|
|
115
118
|
break;
|
|
116
119
|
}
|
|
117
120
|
case 'sid':
|
|
118
|
-
case 'star':
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
case 'star': {
|
|
122
|
+
// A procedure filed at an airport it does not serve flags its own legs
|
|
123
|
+
// and the leg joining it to that airport: the leg in from the
|
|
124
|
+
// departure for a SID, the leg out to the arrival for a STAR.
|
|
125
|
+
const mismatched = el.airportMismatch !== undefined;
|
|
126
|
+
if (mismatched && el.type === 'sid' && points.length > 0) {
|
|
127
|
+
points[points.length - 1].procedureMismatchToNext = true;
|
|
124
128
|
}
|
|
129
|
+
const drawable = el.legs.flatMap((leg) => leg.fixIdentifier !== undefined && leg.lat !== undefined && leg.lon !== undefined
|
|
130
|
+
? [{ label: leg.fixIdentifier, lat: leg.lat, lon: leg.lon }]
|
|
131
|
+
: []);
|
|
132
|
+
drawable.forEach((point, index) => {
|
|
133
|
+
if (mismatched && (el.type === 'star' || index < drawable.length - 1)) {
|
|
134
|
+
point.procedureMismatchToNext = true;
|
|
135
|
+
}
|
|
136
|
+
emit(point);
|
|
137
|
+
});
|
|
125
138
|
break;
|
|
139
|
+
}
|
|
126
140
|
case 'unresolved':
|
|
127
141
|
unresolvedElements.push(el);
|
|
128
142
|
break;
|
package/dist/route-timing.d.ts
CHANGED
|
@@ -72,6 +72,8 @@ export interface RouteTimingLeg {
|
|
|
72
72
|
crossesGap: boolean;
|
|
73
73
|
/** Whether this leg is an airway segment the FAA marks unusable, as on `RouteLeg`. */
|
|
74
74
|
unusable: boolean;
|
|
75
|
+
/** Whether this leg runs along or into a procedure filed at an airport it does not serve, as on `RouteLeg`. */
|
|
76
|
+
procedureAirportMismatch: boolean;
|
|
75
77
|
/** Initial great-circle true course for the leg in degrees (0-360). */
|
|
76
78
|
trueCourseDeg: number;
|
|
77
79
|
/** True heading to fly to hold the course given the wind, in degrees (0-360). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-timing.d.ts","sourceRoot":"","sources":["../src/route-timing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAO/D;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,UAAU,GAAG,SAAS,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,iDAAiD;IACjD,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,yEAAyE;IAC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iFAAiF;IACjF,cAAc,EAAE,MAAM,CAAC;IACvB,6FAA6F;IAC7F,sBAAsB,EAAE,MAAM,CAAC;IAC/B,mDAAmD;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,8EAA8E;IAC9E,IAAI,EAAE,UAAU,GAAG,SAAS,CAAC;IAC7B,mGAAmG;IACnG,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;OAGG;IACH,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;;OAGG;IACH,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,qDAAqD;IACrD,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,2DAA2D;IAC3D,eAAe,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;OAGG;IACH,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC;;;OAGG;IACH,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;;OAGG;IACH,cAAc,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC;;;OAGG;IACH,kBAAkB,EAAE,YAAY,EAAE,CAAC;CACpC;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,kBAAkB,GAC1B,iBAAiB,CA2FnB"}
|
package/dist/route-timing.js
CHANGED
|
@@ -102,6 +102,7 @@ export function computeRouteTiming(route, options) {
|
|
|
102
102
|
cumulativeDistanceNm: leg.cumulativeDistanceNm,
|
|
103
103
|
crossesGap: leg.crossesGap,
|
|
104
104
|
unusable: leg.unusable,
|
|
105
|
+
procedureAirportMismatch: leg.procedureAirportMismatch,
|
|
105
106
|
trueCourseDeg,
|
|
106
107
|
trueHeadingDeg: triangle.trueHeadingDeg,
|
|
107
108
|
windCorrectionAngleDeg: triangle.windCorrectionAngleDeg,
|