A plugin for Logdor that parses coordinates from log files and displays them on an interactive map.
- Automatically detects and parses various coordinate formats:
- Decimal degrees (e.g.,
40.7128, -74.0060) - Degrees with cardinal directions (e.g.,
40.7128°N, 74.0060°W) - Degrees, minutes, seconds (e.g.,
40°42'51"N, 74°00'21"W)
- Decimal degrees (e.g.,
- Interactive map display using OpenStreetMap and Leaflet.js
- Split view with coordinate table and map
- Clickable markers with log message popups
- Synchronizes with other plugins' filtering
- Supports selection to focus on specific coordinates
The plugin attempts to parse coordinates in the following formats:
-
Decimal Degrees:
40.7128, -74.0060lat: 40.7128, long: -74.0060latitude: 40.7128, longitude: -74.0060
-
Degrees with Cardinal Directions:
40.7128°N, 74.0060°W40.7128N, 74.0060W
-
Degrees, Minutes, Seconds (DMS):
40°42'51"N 74°00'21"W40° 42' 51"N, 74° 0' 21"W
- Load a log file containing coordinates
- The plugin will automatically parse any coordinates it finds
- Coordinates will be displayed in both the table and on the map
- Click on table rows to center the map on the selected coordinate
- Click on map markers to view the associated log message
A sample log file (sample.log) is provided to demonstrate the supported coordinate formats:
[2025-03-14 10:00:00] System initialized at location: 40.7128°N, 74.0060°W (New York City)
[2025-03-14 10:30:00] Weather station report from 48° 51' 24"N, 2° 21' 03"E (Paris)
[2025-03-14 11:45:00] Monitoring station at lat: -33.9249, long: 18.4241 (Cape Town)
The sample includes various real-world locations with coordinates in different formats, demonstrating:
- Decimal degrees with cardinal directions
- Degrees, minutes, seconds (DMS)
- Decimal degrees with lat/long labels
- Various formatting variations (spaces, symbols)
- Invalid and missing coordinates for testing
- QtWebEngine for map display
- OpenStreetMap (via Leaflet.js) for map tiles