OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
458 stars 43 forks source link

Display electrical profiles in GEV #2919

Closed nicolaswurtz closed 1 year ago

nicolaswurtz commented 1 year ago

Description and goal

Electrical profiles have to be shown on GEV like horizontal bars using color values from existing catenaries voltage colors (purple for 25000V, red for 1500V, cyan for 15000V, green for other voltages.

Acceptance criteria

image image image

axrolld commented 1 year ago

I have 2 comments :

nicolaswurtz commented 1 year ago
Yohh commented 1 year ago

about the legend, why not display it with a hover on a '?' icon ?

Castavo commented 1 year ago

The endpoint you'll want to use to retrieve the hierarchy of electrical profiles per mode is EDITOAST_URL/electrical_profile_set/<id>/level_order with <id> being the identifier of the electrical profile set chosen for the current timetable

Yohh commented 1 year ago

at this moment, it looks like that:

Image

Image