Skip to content

feat: Implement route and weather visualizer - #3

Merged
kdemmich merged 7 commits into
52North:mainfrom
ShashaankS:route-visualizer
Aug 12, 2026
Merged

kdemmich merged 7 commits into
52North:mainfrom
ShashaankS:route-visualizer

Conversation

@ShashaankS

@ShashaankS ShashaankS commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Combined Route(GeoJSON) and weather(NetCDF) visualizer

What it does

  • Load either a WRT route GeoJSON (FeatureCollection of Point waypoints) or weather dataset (NetCDF) or both via a file picker.

  • Draws the route as a styled line, source/destination flags, an inspectable waypoint layer, and a heading-aware sailboat marker.

  • Animates the boat along the route and the weather with a Play/Pause control, adjustable step speed (ms/step), and a scrub slider.

  • Live stats panel showing speed, engine power, and fuel consumption for the current waypoint, with a collapsible Advanced section for calculating the subset calculations like :

    1. Min
    2. max
    3. Mean
    4. Median
    5. frequency distribution histogram.
  • Auto-frames the canvas to the loaded route's/weather extent.

Screenshots

Screenshot From 2026-08-12 13-39-38 Screenshot From 2026-08-12 13-44-02

@MartinPontius

Copy link
Copy Markdown
Member

Looks good to me.
I have only a few observations/questions:

  • The ship is often upside down. Does that have to do with the bearing? Maybe we should also show the bearing, e.g. in the feature info or as label on the map next to the ship?
  • The minimal frame time is 50 ms. Is this hard-coded by us or restricted by QGIS/PyQt?
  • The initial zoom seems to be always at (0, 0) and not where the route is.

@ShashaankS ShashaankS changed the title feat: Implement route visualizer with UI and functionality feat: Implement route and weather visualizer Aug 12, 2026
@kdemmich
kdemmich merged commit 93193ef into 52North:main Aug 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants