Closed apriljunge closed 3 months ago
Maybe then characteristic_sections
and points_of_interest
could be unified?
Agree on naming the properties!
characteristic_sections
and points_of_interest
are different in nature and properties. One of the reason of the existence of this schema is that it can be written manually. Since both come from different sources, it is easier not to merge them in the path
-file but in the program using the path
-file. Therefore, my current position is not to unify them.
points_of_interest:
- position: 2000.00
label: main_signal_1
measure: front
- position: 9050.00
label: clearing_point_1
measure: rear
characteristic_sections and points_of_interest are different in nature and properties. One of the reason of the existence of this schema is that it can be written manually. Since both come from different sources, it is easier not to merge them in the path-file but in the program using the path-file. Therefore, my current position is not to unify them.
Totally agree. My original thought was to define velocity changes on signals (poi) directly.
Currently,
characteristic_sections
is defined as an array whose property is defined by the order. I think it would be better and more future-proof to use named properties.Like:
The same does apply to
points_of_interest