aprs.me/lib/aprsme_web/live/shared
Graham McIntire 57f243d5b6
Fix coordinate normalization bug
Added proper latitude/longitude normalization to prevent invalid coordinates:
- Longitude now wraps to -180 to 180 range (e.g., 199.0 -> -161.0)
- Latitude now clamps to -90 to 90 range
- Applied normalization before creating geometry in Packet module

Fixed 7 existing packets with invalid coordinates:
- WB6WWJ-N: 199.0 -> -161.0
- BI7MCK-1: 320.3 -> -39.7

This prevents map display issues and ensures PostGIS spatial queries
work correctly.
2026-03-22 13:15:57 -05:00
..
bounds_utils.ex clean up warnings 2025-07-16 08:55:46 -05:00
coordinate_utils.ex Fix coordinate normalization bug 2026-03-22 13:15:57 -05:00
packet_handler.ex clean up warnings 2025-07-16 08:55:46 -05:00
packet_utils.ex Fix object/item packets showing sender callsign instead of object name 2026-03-22 13:02:24 -05:00
param_utils.ex clean up warnings 2025-07-16 08:55:46 -05:00