Fix obviously wrong aircraft trails and implement trail validation #16
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: olemd/skyview#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Aircraft trails sometimes show obviously incorrect flight paths that don't make sense physically, such as impossible speeds, teleporting between distant locations, or zigzag patterns that no aircraft could perform.
Current Issues
Root Causes
Expected Trail Validation
Implementation Ideas
Files to Investigate
Success Criteria
This will significantly improve the user experience by showing only plausible aircraft movements.
✅ Implementation Complete
Position validation has been implemented to fix obviously wrong aircraft trails! The solution adds comprehensive validation to the data merger to filter out impossible position updates before they can create unrealistic flight paths.
🔍 What was implemented:
1. Validation Function ()
2. Integration Points
3. Logging & Debugging
🎯 Problem Resolution:
Before: Aircraft could show teleporting, impossible speeds, zigzag patterns, underground flight
After: Only realistic position updates are accepted, creating clean and plausible flight trails
📋 Validation Constants:
🧪 Testing:
The validation runs in real-time as aircraft data flows through the system, ensuring users only see realistic flight paths while maintaining detailed logs for debugging any false positives.
Location: (validatePosition function)
Files Modified:
✅ Implementation Complete
Position validation has been implemented to fix obviously wrong aircraft trails! The solution adds comprehensive validation to the data merger to filter out impossible position updates before they can create unrealistic flight paths.
🔍 What was implemented:
1. Validation Function (validatePosition)
2. Integration Points
3. Logging & Debugging
🎯 Problem Resolution:
Before: Aircraft could show teleporting, impossible speeds, zigzag patterns, underground flight
After: Only realistic position updates are accepted, creating clean and plausible flight trails
📋 Validation Constants:
🧪 Testing:
The validation runs in real-time as aircraft data flows through the system, ensuring users only see realistic flight paths while maintaining detailed logs for debugging any false positives.
Location: internal/merger/merger.go:836-993 (validatePosition function)
Files Modified: internal/merger/merger.go