How alensmailovic/gpx-analyzer works
GPX-Analyzer is a Streamlit application for exploring GPX routes. Users upload a GPX file or select an example; the app parses and summarizes the track, detects climbs and descents, and presents route, elevation, statistics, and segment details. Separate analysis views cover pace and GPS-signal quality, with the latter querying OpenStreetMap building data. The graph follows relationships visible in the excerpts and README; pace-analysis wiring and other unsampled tab behavior are not confirmed, so that link is marked unverified.
Main entry points: app.py Streamlit app · elevation_chart.py Elevation chart · gpx_parser.py GPX parser · map_display.py Route map
Components 16
GPX Processing
- Example GPX files
data - Streamlit app
app.py - GPX parser
components/core/gpx_parser.py - Track statistics
components/core/stats.py - Execution logging
components/core/logging.py
Route Analysis
- Climb detector
components/core/climb_detector.py - Slope utilities
components/core/utils.py
User Views
- Route map
components/ui/map_display.py - Elevation chart
components/ui/elevation_chart.py - Slope legend
components/ui/legend.py - Pace analysis
components/ui/pace_analysis.py - Segment details
components/ui/segment_details.py - Statistics panel
components/ui/stats_panel.py
Signal Quality
- GPS risk analysis
utils/gps_signal_analysis.py - Overpass services
Other components
- GPX user
Connections 17
- GPX user → Streamlit app: uploads GPX
app.py - Example GPX files → Streamlit app: reads example
app.py - Streamlit app → GPX parser: parses track
app.py - GPX parser → Track statistics: computes summary
components/core/gpx_parser.py - Streamlit app → Climb detector: detects segments
app.py - Streamlit app → Slope utilities: classifies climbs
app.py - Streamlit app → Elevation chart: renders profile
app.py - Elevation chart → Slope utilities: smooths slope
components/ui/elevation_chart.py - Streamlit app → Route map: renders route
app.py - Route map → Elevation chart: gets smoothed grade
components/ui/map_display.py - Streamlit app → Slope legend: displays legend
app.py - Streamlit app → Statistics panel: shows statistics
app.py - Streamlit app → Segment details: shows segment details
app.py - Streamlit app → Execution logging: records timings
app.py - Streamlit app → GPS risk analysis: runs signal analysis
app.py - GPS risk analysis → Overpass services: queries buildings
utils/gps_signal_analysis.py - Streamlit app → Pace analysis: may run analysis
app.py