kernelshreyak / world-travel-simulator

Real World Travel Simulator. Drive Vehicles on 2D World Map
https://world-travel-simulator.vercel.app/
0 stars 0 forks source link

Improve train routes #10

Open kernelshreyak opened 2 years ago

kernelshreyak commented 2 years ago
  1. Improve automatic selection of arrival and departure stations using sorting on stations list before matching nearest station.
  2. Use better data source for Train stations and routes GeoJSON
  3. Create algorithm for optimal train route between the departure and arrival stations using existing data
  4. Change icon to train when train travel started
kernelshreyak commented 2 years ago

Maybe update the automatic station selection to a manual one using dynamic dropdown containing station names matched by search string. Once start and end stations are chosen, there is no need for complex routing as the trainroutes.geojson can be directly used to get the train route linestring matching the start and end station coordinates