orte <- data.frame(
ID = c("D", "KW", "KHD", "KMA", "KVI", "DHO", "KFT",
"HD", "MA", "LU", "SP", "SW", "WH", "SI", "BR", "WO"),
Name = c("Zentrallager Walldorf", "Walldorfer Kreuz", "Kreuz Heidelberg",
"Kreuz Mannheim", "Kreuz Viernheim", "Dreieck Hockenheim", "Kreuz Frankenthal",
"Heidelberg", "Mannheim", "Ludwigshafen", "Speyer", "Schwetzingen",
"Weinheim", "Sinsheim", "Bruchsal", "Worms"),
Typ = c("Depot", rep("Knoten", 6), rep("Klinik", 9)),
lat = c(49.306, 49.297, 49.425, 49.459, 49.528, 49.326, 49.546,
49.417, 49.493, 49.479, 49.320, 49.383, 49.551, 49.253, 49.124, 49.634),
lon = c(8.642, 8.663, 8.632, 8.565, 8.562, 8.555, 8.383,
8.667, 8.487, 8.420, 8.433, 8.572, 8.672, 8.877, 8.599, 8.358)
)
strassen <- data.frame(
from = c("D", "D", "KW", "KW", "KW", "KW", "KHD", "KHD", "KHD", "DHO", "DHO",
"DHO", "SW", "SW", "KMA", "KMA", "KVI", "KVI", "KVI", "KFT", "KFT",
"MA", "SP", "SI", "BR"),
to = c("KW", "HD", "KHD", "DHO", "SI", "BR", "HD", "KMA", "WH", "KMA", "SP",
"SW", "HD", "KMA", "MA", "KVI", "MA", "WH", "KFT", "LU", "WO",
"LU", "LU", "HD", "SP"),
typ = c("Stadt", "Land", "Autobahn", "Autobahn", "Autobahn", "Autobahn", "Stadt",
"Autobahn", "Autobahn", "Autobahn", "Autobahn", "Land", "Land", "Land",
"Stadt", "Autobahn", "Autobahn", "Autobahn", "Autobahn", "Land", "Autobahn",
"Stadt", "Land", "Land", "Land")
)
v_kmh <- c(Autobahn = 90, Land = 60, Stadt = 30) # mittlere Geschwindigkeit Kurierfahrzeug
knitr::kable(orte[, c("ID", "Name", "Typ")])