@golemio/pid 2.11.1-dev.1130791659 → 2.11.1-rc.1131613021

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.
Files changed (47) hide show
  1. package/db/example/12_metro_line_A_gtfs_trips.sql +4 -4
  2. package/db/example/13_http-propagate-delay.sql +8 -8
  3. package/dist/integration-engine/ioc/Di.d.ts +2 -1
  4. package/dist/integration-engine/ioc/Di.js +5 -7
  5. package/dist/integration-engine/ioc/Di.js.map +1 -1
  6. package/dist/integration-engine/ioc/ModuleContainerToken.d.ts +0 -1
  7. package/dist/integration-engine/ioc/ModuleContainerToken.js +0 -1
  8. package/dist/integration-engine/ioc/ModuleContainerToken.js.map +1 -1
  9. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DPPUtils.js +5 -4
  10. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DPPUtils.js.map +1 -1
  11. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionCalculator.d.ts +11 -9
  12. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionCalculator.js +97 -33
  13. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionCalculator.js.map +1 -1
  14. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js +23 -28
  15. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js.map +1 -1
  16. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ValidToCalculator.js +5 -4
  17. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/ValidToCalculator.js.map +1 -1
  18. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js +22 -24
  19. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js.map +1 -1
  20. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/VPInterfaces.d.ts +1 -1
  21. package/dist/output-gateway/public/ioc/Di.js +1 -5
  22. package/dist/output-gateway/public/ioc/Di.js.map +1 -1
  23. package/dist/output-gateway/public/ioc/OgModuleToken.d.ts +0 -2
  24. package/dist/output-gateway/public/ioc/OgModuleToken.js +0 -2
  25. package/dist/output-gateway/public/ioc/OgModuleToken.js.map +1 -1
  26. package/dist/output-gateway/public/service/facade/VehiclePositionsFacade.d.ts +1 -3
  27. package/dist/output-gateway/public/service/facade/VehiclePositionsFacade.js +3 -3
  28. package/dist/output-gateway/public/service/facade/VehiclePositionsFacade.js.map +1 -1
  29. package/dist/output-gateway/public/service/helpers/BoundingBoxHelper.d.ts +3 -6
  30. package/dist/output-gateway/public/service/helpers/BoundingBoxHelper.js +10 -26
  31. package/dist/output-gateway/public/service/helpers/BoundingBoxHelper.js.map +1 -1
  32. package/dist/schema-definitions/vehicle-positions/models/VPTripsModel.js +3 -11
  33. package/dist/schema-definitions/vehicle-positions/models/VPTripsModel.js.map +1 -1
  34. package/dist/schema-definitions/vehicle-positions/models/interfaces/VPTripsLastPositionInterfaces.d.ts +1 -2
  35. package/package.json +2 -2
  36. package/dist/helpers/geo/GeoMeasurementHelper.d.ts +0 -17
  37. package/dist/helpers/geo/GeoMeasurementHelper.js +0 -65
  38. package/dist/helpers/geo/GeoMeasurementHelper.js.map +0 -1
  39. package/dist/helpers/geo/interfaces/IGeoMeasurementHelper.d.ts +0 -8
  40. package/dist/helpers/geo/interfaces/IGeoMeasurementHelper.js +0 -3
  41. package/dist/helpers/geo/interfaces/IGeoMeasurementHelper.js.map +0 -1
  42. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/anchor-points/AnchorPointSegmenter.d.ts +0 -17
  43. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/anchor-points/AnchorPointSegmenter.js +0 -76
  44. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/anchor-points/AnchorPointSegmenter.js.map +0 -1
  45. package/dist/output-gateway/public/service/helpers/interfaces/IBoundingBoxHelper.d.ts +0 -4
  46. package/dist/output-gateway/public/service/helpers/interfaces/IBoundingBoxHelper.js +0 -3
  47. package/dist/output-gateway/public/service/helpers/interfaces/IBoundingBoxHelper.js.map +0 -1
@@ -1,17 +0,0 @@
1
- import { Position } from "@golemio/core/dist/shared/geojson";
2
- import { BBox, Point } from "cheap-ruler";
3
- import { IGeoMeasurementHelper } from "./interfaces/IGeoMeasurementHelper";
4
- export declare class GeoMeasurementHelper implements IGeoMeasurementHelper {
5
- private rulerInstanceDict;
6
- constructor();
7
- /** Get distance in kilometers between two points */
8
- getDistanceInKilometers(pointA: Point | Position, pointB: Point | Position): number;
9
- /** Get distance in meters between two points */
10
- getDistanceInMeters(pointA: Point | Position, pointB: Point | Position): number;
11
- /** Get buffered bounding box in kilometers */
12
- getBufferedBBoxInKilometers(point: Point | Position, bufferInKm: number): BBox;
13
- /** Check if point is inside bounding box */
14
- isPointInBBox(point: Point | Position, bbox: BBox): boolean;
15
- private getRulerInstance;
16
- private getValidPoint;
17
- }
@@ -1,65 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.GeoMeasurementHelper = void 0;
16
- const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
17
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
18
- const cheap_ruler_1 = __importDefault(require("cheap-ruler"));
19
- const APPROXIMATION_LATITUDE = 50.0;
20
- let GeoMeasurementHelper = exports.GeoMeasurementHelper = class GeoMeasurementHelper {
21
- constructor() {
22
- this.rulerInstanceDict = new Map();
23
- }
24
- /** Get distance in kilometers between two points */
25
- getDistanceInKilometers(pointA, pointB) {
26
- const validPointA = this.getValidPoint(pointA);
27
- const validPointB = this.getValidPoint(pointB);
28
- return this.getRulerInstance("kilometers").distance(validPointA, validPointB);
29
- }
30
- /** Get distance in meters between two points */
31
- getDistanceInMeters(pointA, pointB) {
32
- const validPointA = this.getValidPoint(pointA);
33
- const validPointB = this.getValidPoint(pointB);
34
- return this.getRulerInstance("meters").distance(validPointA, validPointB);
35
- }
36
- /** Get buffered bounding box in kilometers */
37
- getBufferedBBoxInKilometers(point, bufferInKm) {
38
- const validPoint = this.getValidPoint(point);
39
- return this.getRulerInstance("kilometers").bufferPoint(validPoint, bufferInKm);
40
- }
41
- /** Check if point is inside bounding box */
42
- isPointInBBox(point, bbox) {
43
- const validPoint = this.getValidPoint(point);
44
- return this.getRulerInstance("kilometers").insideBBox(validPoint, bbox);
45
- }
46
- getRulerInstance(unit) {
47
- let ruler = this.rulerInstanceDict.get(unit);
48
- if (!ruler) {
49
- ruler = new cheap_ruler_1.default(APPROXIMATION_LATITUDE, unit);
50
- this.rulerInstanceDict.set(unit, ruler);
51
- }
52
- return ruler;
53
- }
54
- getValidPoint(point) {
55
- if (point.length !== 2) {
56
- throw new golemio_errors_1.GeneralError("getValidPoint: invalid point " + JSON.stringify(point), this.constructor.name, undefined, 422);
57
- }
58
- return point;
59
- }
60
- };
61
- exports.GeoMeasurementHelper = GeoMeasurementHelper = __decorate([
62
- (0, tsyringe_1.injectable)(),
63
- __metadata("design:paramtypes", [])
64
- ], GeoMeasurementHelper);
65
- //# sourceMappingURL=GeoMeasurementHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeoMeasurementHelper.js","sourceRoot":"","sources":["../../../src/helpers/geo/GeoMeasurementHelper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,6EAAwE;AACxE,iEAAgE;AAChE,8DAAsD;AAItD,MAAM,sBAAsB,GAAG,IAAI,CAAC;AAG7B,IAAM,oBAAoB,kCAA1B,MAAM,oBAAoB;IAG7B;QACI,IAAI,CAAC,iBAAiB,GAAG,IAAI,GAAG,EAAE,CAAC;IACvC,CAAC;IAED,oDAAoD;IAC7C,uBAAuB,CAAC,MAAwB,EAAE,MAAwB;QAC7E,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC/C,OAAO,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAClF,CAAC;IAED,gDAAgD;IACzC,mBAAmB,CAAC,MAAwB,EAAE,MAAwB;QACzE,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAC/C,OAAO,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC9E,CAAC;IAED,8CAA8C;IACvC,2BAA2B,CAAC,KAAuB,EAAE,UAAkB;QAC1E,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IACnF,CAAC;IAED,4CAA4C;IACrC,aAAa,CAAC,KAAuB,EAAE,IAAU;QACpD,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;IAEO,gBAAgB,CAAC,IAAU;QAC/B,IAAI,KAAK,GAAG,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,KAAK,EAAE;YACR,KAAK,GAAG,IAAI,qBAAU,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;YACrD,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;SAC3C;QAED,OAAO,KAAK,CAAC;IACjB,CAAC;IAEO,aAAa,CAAC,KAAuB;QACzC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;YACpB,MAAM,IAAI,6BAAY,CAClB,+BAA+B,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EACvD,IAAI,CAAC,WAAW,CAAC,IAAI,EACrB,SAAS,EACT,GAAG,CACN,CAAC;SACL;QAED,OAAO,KAAc,CAAC;IAC1B,CAAC;CACJ,CAAA;+BAvDY,oBAAoB;IADhC,IAAA,qBAAU,GAAE;;GACA,oBAAoB,CAuDhC"}
@@ -1,8 +0,0 @@
1
- import { Position } from "@golemio/core/dist/shared/geojson";
2
- import { BBox, Point } from "cheap-ruler";
3
- export interface IGeoMeasurementHelper {
4
- getDistanceInKilometers(pointA: Point | Position, pointB: Point | Position): number;
5
- getDistanceInMeters(pointA: Point | Position, pointB: Point | Position): number;
6
- getBufferedBBoxInKilometers(point: Point | Position, bufferInKm: number): BBox;
7
- isPointInBBox(point: Point | Position, bbox: BBox): boolean;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IGeoMeasurementHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IGeoMeasurementHelper.js","sourceRoot":"","sources":["../../../../src/helpers/geo/interfaces/IGeoMeasurementHelper.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- import { Feature, Point } from "@turf/turf";
2
- import { ICurrentPositionProperties, IShapeAnchorPoint } from "../../interfaces/VPInterfaces";
3
- export declare class AnchorPointSegmenter {
4
- private geoHelper;
5
- private anchorPoints;
6
- private anchorPointSegments;
7
- private currentPosition;
8
- constructor(anchorPoints: IShapeAnchorPoint[], currentPosition: Feature<Point, ICurrentPositionProperties>);
9
- /**
10
- * Returns all anchor points in radius of current position
11
- * if lastStopSequence is provided, only anchor points from that segment are returned
12
- */
13
- getAnchorPointsInRadius(lastStopSequence: number | null, radiusInKm: number): IShapeAnchorPoint[][];
14
- /** Divides anchor points into segments by last stop sequence and this stop sequence if at stop */
15
- private computeAnchorPointSegments;
16
- private getSegment;
17
- }
@@ -1,76 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AnchorPointSegmenter = void 0;
4
- const ModuleContainerToken_1 = require("../../../../../ioc/ModuleContainerToken");
5
- const Di_1 = require("../../../../ioc/Di");
6
- class AnchorPointSegmenter {
7
- constructor(anchorPoints, currentPosition) {
8
- this.geoHelper = Di_1.VPContainer.resolve(ModuleContainerToken_1.ModuleContainerToken.GeoMeasurementHelper);
9
- this.anchorPoints = anchorPoints;
10
- this.anchorPointSegments = this.computeAnchorPointSegments(anchorPoints);
11
- this.currentPosition = currentPosition;
12
- }
13
- /**
14
- * Returns all anchor points in radius of current position
15
- * if lastStopSequence is provided, only anchor points from that segment are returned
16
- */
17
- getAnchorPointsInRadius(lastStopSequence, radiusInKm) {
18
- var _a;
19
- const positionCoordinates = this.currentPosition.geometry.coordinates;
20
- const anchorPoints = lastStopSequence ? (_a = this.anchorPointSegments.get(lastStopSequence)) !== null && _a !== void 0 ? _a : [] : this.anchorPoints;
21
- const boundingBox = this.geoHelper.getBufferedBBoxInKilometers(positionCoordinates, radiusInKm);
22
- let ptsInRadius = [];
23
- let ptsIndex = 0;
24
- for (const anchorPoint of anchorPoints) {
25
- // Ignore anchor points outside bbox to avoid unnecessary distance calculations
26
- if (!this.geoHelper.isPointInBBox(anchorPoint.coordinates, boundingBox)) {
27
- continue;
28
- }
29
- const distanceInKm = this.geoHelper.getDistanceInKilometers(anchorPoint.coordinates, positionCoordinates);
30
- // Ignore anchor points on the periphery of the bbox
31
- // in addition, from now push to the next segment due to possible overlap of shapes (handled later)
32
- if (distanceInKm > radiusInKm) {
33
- if (ptsInRadius[ptsIndex] !== undefined) {
34
- ptsIndex++;
35
- }
36
- continue;
37
- }
38
- if (ptsInRadius[ptsIndex] === undefined) {
39
- ptsInRadius[ptsIndex] = [];
40
- }
41
- ptsInRadius[ptsIndex].push(anchorPoint);
42
- }
43
- // Edge case - if no points found, try again with all points
44
- // (vehicle may be too far ahead - e.g. when the vehicle/data provider stopped sending data for a while)
45
- // (we want to find at least one point on track so that the vehicle is not immediately considered off_track)
46
- if (lastStopSequence && ptsInRadius.flat().length === 0) {
47
- return this.getAnchorPointsInRadius(null, radiusInKm);
48
- }
49
- return ptsInRadius;
50
- }
51
- /** Divides anchor points into segments by last stop sequence and this stop sequence if at stop */
52
- computeAnchorPointSegments(anchorPoints) {
53
- let segments = new Map();
54
- for (const anchorPoint of anchorPoints) {
55
- let currentSegment = this.getSegment(segments, anchorPoint.last_stop_sequence);
56
- // Add anchor point to segment
57
- currentSegment.push(anchorPoint);
58
- // If at stop, also add anchor point to previous segment (except if first stop since there is no previous segment)
59
- if (anchorPoint.at_stop && anchorPoint.last_stop_sequence !== 1) {
60
- const previousSegment = this.getSegment(segments, anchorPoint.last_stop_sequence - 1);
61
- previousSegment.push(anchorPoint);
62
- }
63
- }
64
- return segments;
65
- }
66
- getSegment(segments, segmentIndex) {
67
- let segment = segments.get(segmentIndex);
68
- if (!segment) {
69
- segment = [];
70
- segments.set(segmentIndex, segment);
71
- }
72
- return segment;
73
- }
74
- }
75
- exports.AnchorPointSegmenter = AnchorPointSegmenter;
76
- //# sourceMappingURL=AnchorPointSegmenter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnchorPointSegmenter.js","sourceRoot":"","sources":["../../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/anchor-points/AnchorPointSegmenter.ts"],"names":[],"mappings":"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"}
@@ -1,4 +0,0 @@
1
- import { IBoundingBox, IBoundingBoxWithCenter } from "../../../domain/IBoudingBox";
2
- export interface IBoundingBoxHelper {
3
- mapToCenterFormat(boundingBox: IBoundingBox): IBoundingBoxWithCenter;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IBoundingBoxHelper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IBoundingBoxHelper.js","sourceRoot":"","sources":["../../../../../../src/output-gateway/public/service/helpers/interfaces/IBoundingBoxHelper.ts"],"names":[],"mappings":""}