andipaetzold / zwiftmap

Interactive map to discover all worlds and routes of Zwift
https://zwiftmap.com
MIT License
36 stars 3 forks source link

Update to Zwift 1.68 #2629

Closed Supercrazycoder1000 closed 1 month ago

Supercrazycoder1000 commented 3 months ago

The Map Image is up to date for zwift 1.68 but when I try to create a custom route on The Grade KOM or Itza KOM or one of the new routes the waypoint is placed on one of the other roads included is a screenshot with the affected area and my .GPX route

Screenshot 2024-06-26 at 3 35 00 PM

custom-route.gpx.zip

andipaetzold commented 3 months ago

Hey 👋

thanks for the detailed report!

I am aware of the issue. When the update was released, I simply swapped the image, but didn't update the underlying road network. It's a boring process to get things updated and I simply didn't have enough time to do it, yet.

If you're intested, here's is the process:

  1. Download the latlng stream of new routes from Strava
  2. Trim these latlng streams and create edges. One edge is the road from one intersection to another
  3. Create nodes/intersections and connect the edges You can see the details of the current road layout here: https://github.com/andipaetzold/zwiftmap/tree/main/backend/src/shared/browser/roads/roads/watopia

For road surfaces it's currently also a manual process: https://github.com/andipaetzold/zwiftmap/blob/main/frontend/src/constants/worldConfigs/watopia.ts

It's probably possible to automate this, but I haven't figured out how to do that.

andipaetzold commented 1 month ago

The new roads are now implemented