Skip to content

Commit

Permalink
add more standard features
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed May 15, 2024
1 parent 8f914c4 commit b526bf2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ private static Feature createDefaultFeature(Link link) {
ft.put("speed", NetworkUtils.getAllowedSpeed(link));
ft.put("num_lanes", link.getNumberOfLanes());
ft.put("length", link.getLength());
ft.put("capacity", link.getCapacity());
ft.put("freespeed", link.getFreespeed());

for (Map.Entry<String, Object> e : link.getAttributes().getAsMap().entrySet()) {
String key = e.getKey();
Expand Down

0 comments on commit b526bf2

Please sign in to comment.