SUMO - Simulation of Urban MObility
typemap.h
Go to the documentation of this file.
1 const std::string opendriveTypemap =
2 "<types xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://sumo.dlr.de/xsd/types_file.xsd\">\n"
3 " <type id=\"driving\" priority=\"1\" speed=\"13.89\" width=\"3.65\" disallow=\"pedestrian rail rail_urban rail_electric tram ship\"/>\n"
4 " <type id=\"stop\" priority=\"1\" speed=\"13.89\" width=\"3.65\" disallow=\"pedestrian rail rail_urban rail_electric tram ship\"/>\n"
5 " <type id=\"restricted\" priority=\"0\" speed=\"13.89\" width=\"3.65\" disallow=\"all\"/> <!-- ambiguous semantics. Could mean bus-lane as well as fully-area restricted (but surfaced) lane area (examples from http://www.opendrive.org -->\n"
6 " <type id=\"parking\" priority=\"1\" speed=\"1.39\" width=\"2.50\" disallow=\"pedestrian rail rail_urban rail_electric tram ship\"/>\n"
7 " <type id=\"entry\" priority=\"1\" speed=\"22.22\" width=\"3.65\" disallow=\"pedestrian rail rail_urban rail_electric tram ship\"/>\n"
8 " <type id=\"exit\" priority=\"1\" speed=\"22.22\" width=\"3.65\" disallow=\"pedestrian rail rail_urban rail_electric tram ship\"/>\n"
9 " <type id=\"offRamp\" priority=\"1\" speed=\"22.22\" width=\"3.65\" disallow=\"pedestrian bicycle moped rail rail_urban rail_electric tram ship\"/>\n"
10 " <type id=\"onRamp\" priority=\"1\" speed=\"22.22\" width=\"3.65\" disallow=\"pedestrian bicycle moped rail rail_urban rail_electric tram ship\"/>\n"
11 " <type id=\"roadWorks\" priority=\"0\" speed=\"1.39\" width=\"3.65\" allow=\"authority\"/>\n"
12 " <type id=\"tram\" priority=\"2\" speed=\"13.89\" width=\"3.65\" allow=\"tram\"/>\n"
13 " <type id=\"rail\" priority=\"3\" speed=\"33.33\" width=\"3.65\" allow=\"rail rail_urban rail_electric\"/>\n"
14 "\n"
15 " <!-- should be enabled via additional typemaps -->\n"
16 " <!--\n"
17 " <type id=\"biking\" priority=\"-1\" speed=\"5.56\" width=\"1.50\" allow=\"bicycle\" />\n"
18 " <type id=\"sidewalk\" priority=\"-2\" speed=\"2.78\" width=\"2.50\" allow=\"pedestrian\" />\n"
19 " -->\n"
20 "\n"
21 " <!-- discarded -->\n"
22 " <type id=\"none\" priority=\"0\" speed=\"1.39\" width=\"1.0\" disallow=\"all\" discard=\"true\"/> <!-- non-lane spacing. gives ugly junction shapes when present on the outside of edges (as seen in official examples) -->\n"
23 " <type id=\"shoulder\" priority=\"0\" speed=\"1.39\" width=\"1.0\" disallow=\"all\" discard=\"true\"/>\n"
24 " <type id=\"border\" priority=\"0\" speed=\"1.39\" width=\"0.1\" disallow=\"all\" discard=\"true\"/>\n"
25 " <type id=\"median\" priority=\"0\" speed=\"1.39\" width=\"0.1\" disallow=\"all\" discard=\"true\"/>\n"
26 " <type id=\"special1\" priority=\"1\" speed=\"22.22\" width=\"3.65\" allow=\"custom1\" discard=\"true\"/>\n"
27 " <type id=\"special2\" priority=\"1\" speed=\"22.22\" width=\"3.65\" allow=\"custom2\" discard=\"true\"/>\n"
28 " <type id=\"special3\" priority=\"1\" speed=\"22.22\" width=\"3.65\" allow=\"custom1 custom2\" discard=\"true\"/>\n"
29 "\n"
30 " <!-- deprecated -->\n"
31 " <type id=\"mwyEntry\" priority=\"1\" speed=\"22.22\" width=\"3.65\" disallow=\"pedestrian bicycle moped rail rail_urban rail_electric tram ship\"/>\n"
32 " <type id=\"mwyExit\" priority=\"1\" speed=\"22.22\" width=\"3.65\" disallow=\"pedestrian bicycle moped rail rail_urban rail_electric tram ship\"/>\n"
33 "\n"
34 " <!-- not fully implemented -->\n"
35 " <type id=\"bidirectional\" priority=\"1\" speed=\"1.39\" width=\"3.65\" disallow=\"pedestrian rail rail_urban rail_electric tram ship\"/> \n"
36 "</types>\n"
37 ;
38 const std::string osmTypemap =
39 "<types xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"http://sumo.dlr.de/xsd/types_file.xsd\">\n"
40 " <type id=\"highway.motorway\" numLanes=\"2\" speed=\"44.44\" priority=\"13\" oneway=\"true\" disallow=\"pedestrian bicycle moped rail rail_urban rail_electric tram ship\"/>\n"
41 " <type id=\"highway.motorway_link\" numLanes=\"1\" speed=\"22.22\" priority=\"12\" oneway=\"true\" disallow=\"pedestrian bicycle moped rail rail_urban rail_electric tram ship\"/>\n"
42 " <type id=\"highway.trunk\" numLanes=\"2\" speed=\"27.78\" priority=\"11\" oneway=\"false\" disallow=\"pedestrian bicycle rail rail_urban rail_electric tram ship\"/>\n"
43 " <type id=\"highway.trunk_link\" numLanes=\"1\" speed=\"22.22\" priority=\"10\" oneway=\"false\" disallow=\"pedestrian bicycle rail rail_urban rail_electric tram ship\"/>\n"
44 " <type id=\"highway.primary\" numLanes=\"2\" speed=\"27.78\" priority=\"9\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
45 " <type id=\"highway.primary_link\" numLanes=\"1\" speed=\"22.22\" priority=\"8\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
46 " <type id=\"highway.secondary\" numLanes=\"2\" speed=\"27.78\" priority=\"7\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
47 " <type id=\"highway.secondary_link\" numLanes=\"1\" speed=\"22.22\" priority=\"6\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
48 " <type id=\"highway.tertiary\" numLanes=\"1\" speed=\"22.22\" priority=\"6\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
49 " <type id=\"highway.tertiary_link\" numLanes=\"1\" speed=\"22.22\" priority=\"5\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
50 " <type id=\"highway.unclassified\" numLanes=\"1\" speed=\"13.89\" priority=\"5\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
51 " <type id=\"highway.residential\" numLanes=\"1\" speed=\"13.89\" priority=\"4\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
52 " <type id=\"highway.living_street\" numLanes=\"1\" speed=\"2.78\" priority=\"3\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
53 " <type id=\"highway.service\" numLanes=\"1\" speed=\"5.56\" priority=\"2\" oneway=\"false\" allow=\"delivery pedestrian bicycle\"/>\n"
54 " <type id=\"highway.track\" numLanes=\"1\" speed=\"5.56\" priority=\"1\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
55 " <type id=\"highway.unsurfaced\" numLanes=\"1\" speed=\"8.33\" priority=\"1\" oneway=\"false\" disallow=\"rail rail_urban rail_electric tram ship\"/>\n"
56 "\n"
57 " <!-- everything which serves mainly pedestrians is oneway because all current pedestrian models do not care about direction -->\n"
58 " <type id=\"highway.footway\" numLanes=\"1\" speed=\"2.78\" priority=\"1\" oneway=\"true\" width=\"2\" allow=\"pedestrian\"/>\n"
59 " <type id=\"highway.pedestrian\" numLanes=\"1\" speed=\"2.78\" priority=\"1\" oneway=\"true\" width=\"2\" allow=\"pedestrian\"/>\n"
60 " <type id=\"highway.path\" numLanes=\"1\" speed=\"2.78\" priority=\"1\" oneway=\"true\" width=\"2\" allow=\"pedestrian bicycle\"/>\n"
61 " <type id=\"highway.bridleway\" numLanes=\"1\" speed=\"2.78\" priority=\"1\" oneway=\"true\" width=\"2\" allow=\"pedestrian\"/>\n"
62 " <type id=\"highway.cycleway\" numLanes=\"1\" speed=\"8.33\" priority=\"1\" oneway=\"false\" width=\"1\" allow=\"bicycle\"/>\n"
63 " <type id=\"highway.step\" numLanes=\"1\" speed=\"1.39\" priority=\"1\" oneway=\"true\" width=\"2\" allow=\"pedestrian\"/>\n"
64 " <type id=\"highway.steps\" numLanes=\"1\" speed=\"1.39\" priority=\"1\" oneway=\"true\" width=\"2\" allow=\"pedestrian\"/>\n"
65 " <type id=\"highway.stairs\" numLanes=\"1\" speed=\"1.39\" priority=\"1\" oneway=\"true\" width=\"2\" allow=\"pedestrian\"/>\n"
66 "\n"
67 " <type id=\"highway.bus_guideway\" numLanes=\"1\" speed=\"27.78\" priority=\"1\" oneway=\"true\" allow=\"bus\"/>\n"
68 " <type id=\"highway.raceway\" numLanes=\"2\" speed=\"83.33\" priority=\"14\" oneway=\"false\" allow=\"vip\"/>\n"
69 " <type id=\"highway.ford\" numLanes=\"1\" speed=\"2.78\" priority=\"1\" oneway=\"false\" allow=\"army\"/>\n"
70 "\n"
71 " <type id=\"railway.rail\" numLanes=\"1\" speed=\"83.33\" priority=\"15\" oneway=\"true\" allow=\"rail rail_electric\"/>\n"
72 " <type id=\"railway.tram\" numLanes=\"1\" speed=\"13.89\" priority=\"15\" oneway=\"true\" allow=\"tram\"/>\n"
73 " <type id=\"railway.light_rail\" numLanes=\"1\" speed=\"27.78\" priority=\"15\" oneway=\"true\" allow=\"rail_urban\"/>\n"
74 " <type id=\"railway.subway\" numLanes=\"1\" speed=\"27.78\" priority=\"15\" oneway=\"true\" allow=\"rail_urban\"/>\n"
75 " <type id=\"railway.preserved\" numLanes=\"1\" speed=\"27.78\" priority=\"15\" oneway=\"true\" allow=\"rail\"/>\n"
76 "\n"
77 "</types>\n"
78 ;
const std::string osmTypemap
Definition: typemap.h:38
const std::string opendriveTypemap
Definition: typemap.h:1