Commit Graph

10 Commits

Author SHA1 Message Date
Markus Koch f1868aba04 Implement net_meta info for nodes
This fixes #6.
2021-06-20 14:48:38 +02:00
Markus Koch e01245cb98 Do not use z-coordinate for speed on TRAINLINE or ACCESS
Using the z-coordinate as is is a bad idea. When intersecting, a
new node will be generated. What z-coord should it be? This node
can now be part of two distinct types with different meanings for
it. So we need to implement weight as a path argument.

This commit hardcodes the speed for trains and access pathways as
a temporary workaround.
2021-03-13 13:02:19 +01:00
Markus Koch 9ce5765192 Set ACCESS speed to 99 until all problems with this are resolved 2021-03-04 22:02:31 +01:00
Markus Koch faa5d7ca4b Introduce a penalty for entering / leaving the train
Done by upping the cost for walking on an access layer.
2021-02-26 19:33:21 +01:00
Markus Koch 6ee084472a Implement trainline support 2021-02-26 19:15:48 +01:00
Markus Koch 5db3ad8759 Add height support
Optional third coordinate in position field. Streets will only
intersect when all 4 coordinates are on the same height.
2021-02-04 20:49:45 +01:00
Markus Koch 6a546f6138 Automatically calculate weight from distance 2020-05-02 17:13:27 +02:00
Markus Koch 087cefb13a Rename dijkstrasearch to dijkstragraph 2020-05-02 17:02:26 +02:00
Markus Koch 0d2945d76f Clean up code 2020-05-02 16:51:12 +02:00
Markus Koch 25ccfc5df5 Implement GeoJson loader 2020-05-02 16:27:44 +02:00