Skip to content

Commit effacbd

Browse files
authored
#2 shortended description now links to full description on the distances page
1 parent 908226a commit effacbd

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

docs/web/docs/Simulation/Railways.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -284,22 +284,9 @@ When setting parameters, `id` indicates the id of the rail-crossing junction and
284284

285285
## Kilometrage (Mileage, Chainage)
286286

287-
Edges support the attribute *distance* to denote the distance at the
288-
start of the edge relative to some point of reference for a [linear
289-
referencing scheme](https://en.wikipedia.org/wiki/Linear_referencing).
290-
When the distance metric decreases along the forward direction of the edge, this is indicated by using a negative sign for the distance value.
291-
292-
The distance value along an edge is computed as:
293-
```
294-
|edgeDistance + vehiclePos|
295-
```
296-
297-
Edge distance is imported from OSM and can also be be set along a route in [netedit](../Netedit/elementsDemand.md#route)
298-
299-
The distances value can be written in [fcd-output](Output/FCDOutput.md#further_options) using option **--fcd-output.distance**. It may then be used for plotting by [plot_trajectories.py](../Tools/Visualization.md#plot_trajectoriespy) using the code `k` (i.e. -t kt). The distances can also be visualized in sumo-gui (color edges by distance).
300-
301-
!!! note
302-
Negative distance values are not currently supported (pending introduction of another attribute)
287+
Edges can be configured to take part in a [linear
288+
referencing scheme](https://en.wikipedia.org/wiki/Linear_referencing) by setting their [`distance`-attribute](Distances.md#defining_and_using_linear_coordinates).
289+
The linear coordinates of a vehicle can be included in [fcd-output](Output/FCDOutput.md#further_options) using option **--fcd-output.distance**.
303290

304291
# Modelling Trains
305292

0 commit comments

Comments
 (0)