Eclipse SUMO - Simulation of Urban MObility
NIImporter_SUMO.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
17 // Importer for networks stored in SUMO format
18 /****************************************************************************/
19 #ifndef NIImporter_SUMO_h
20 #define NIImporter_SUMO_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #include <config.h>
27 
28 #include <string>
29 #include <map>
34 #include "NIXMLTypesHandler.h"
35 
36 
37 // ===========================================================================
38 // class declarations
39 // ===========================================================================
40 class NBNetBuilder;
41 class NBEdge;
42 class OptionsCont;
43 
44 
45 // ===========================================================================
46 // class definitions
47 // ===========================================================================
54 public:
70  static void loadNetwork(OptionsCont& oc, NBNetBuilder& nb);
71 
74 
76  static void addPhase(const SUMOSAXAttributes& attrs, NBLoadedSUMOTLDef* currentTL);
77 
79  static GeoConvHelper* loadLocation(const SUMOSAXAttributes& attrs);
80 
81 protected:
86 
89 
91 
92 
103  void myStartElement(int element,
104  const SUMOSAXAttributes& attrs);
105 
106 
113  void myEndElement(int element);
115 
116 
117 private:
119  void _loadNetwork(OptionsCont& oc);
120 
122 
123 
127  void addEdge(const SUMOSAXAttributes& attrs);
128 
129 
133  void addLane(const SUMOSAXAttributes& attrs);
134 
138  void addStopOffsets(const SUMOSAXAttributes& attrs, bool& ok);
139 
143  void addJunction(const SUMOSAXAttributes& attrs);
144 
145 
149  void addRequest(const SUMOSAXAttributes& attrs);
150 
151 
156  void addConnection(const SUMOSAXAttributes& attrs);
157 
161  void addProhibition(const SUMOSAXAttributes& attrs);
162 
166  void addRoundabout(const SUMOSAXAttributes& attrs);
167 
169 
170 
171 
172 private:
177  struct Connection : public Parameterised {
179  std::string toEdgeID;
183  std::string tlID;
189  bool keepClear;
191  double contPos;
193  double visibility;
195  double speed;
200  };
201 
202 
206  struct LaneAttrs : public Parameterised {
208  double maxSpeed;
212  std::vector<Connection> connections;
214  std::string allow;
216  std::string disallow;
218  double width;
220  double endOffset;
222  std::map<SVCPermissions, double> stopOffsets;
224  bool accelRamp;
226  std::string oppositeID;
230  std::string type;
231  };
232 
233 
237  struct EdgeAttrs : public Parameterised {
239  std::string id;
241  std::string streetName;
243  std::string type;
247  std::string fromNode;
249  std::string toNode;
253  double length;
255  int priority;
257  double maxSpeed;
259  std::vector<LaneAttrs*> lanes;
265  std::map<SVCPermissions, double> stopOffsets;
267  double distance;
268  };
269 
270 
274  struct Prohibition {
275  std::string prohibitorFrom;
276  std::string prohibitorTo;
277  std::string prohibitedFrom;
278  std::string prohibitedTo;
279  };
280 
284  struct Crossing {
285  Crossing(const std::string& _edgeID) :
286  edgeID(_edgeID), customTLIndex(-1), customTLIndex2(-1) {}
287 
288  std::string edgeID;
289  std::vector<std::string> crossingEdges;
290  double width;
291  bool priority;
295  };
296 
302  std::vector<std::string> fromEdges;
303  std::vector<std::string> toEdges;
304  std::vector<std::string> fromCrossed;
305  std::vector<std::string> toCrossed;
306  };
307 
311  struct JunctionAttrs {
313  // @the list of internal lanes corresponding to each link
314  std::vector<std::string> intLanes;
315  // @brief the complete response definition for all links
316  std::vector<std::string> response;
317  };
318 
320  std::map<std::string, EdgeAttrs*> myEdges;
321 
323  std::vector<Prohibition> myProhibitions;
324 
327 
330 
333 
336 
339 
342 
345 
348 
351 
353  std::map<std::string, std::vector<Crossing> > myPedestrianCrossings;
354 
356  std::map<std::string, WalkingAreaParsedCustomShape> myWACustomShapes;
357 
359  std::vector<Parameterised*> myLastParameterised;
360 
363 
366 
369 
372 
375 
378 
381 
384 
388 
390  std::vector<std::vector<std::string> > myRoundabouts;
391 
393  std::set<std::string> myRailSignals;
394 
399  LaneAttrs* getLaneAttrsFromID(EdgeAttrs* edge, std::string lane_id);
400 
406  static PositionVector reconstructEdgeShape(const EdgeAttrs* edge, const Position& from, const Position& to);
407 
409  static Position readPosition(const SUMOSAXAttributes& attrs, const std::string& id, bool& ok);
410 
417  void parseProhibitionConnection(const std::string& attr, std::string& from, std::string& to, bool& ok);
418 };
419 
420 
421 #endif
422 
423 /****************************************************************************/
424 
NIImporter_SUMO::JunctionAttrs::response
std::vector< std::string > response
Definition: NIImporter_SUMO.h:316
NIImporter_SUMO::myWACustomShapes
std::map< std::string, WalkingAreaParsedCustomShape > myWACustomShapes
Map from walkingArea edge IDs to custom shapes.
Definition: NIImporter_SUMO.h:356
NIImporter_SUMO::EdgeAttrs::distance
double distance
The position at the start of this edge (kilometrage/mileage)
Definition: NIImporter_SUMO.h:267
Parameterised
An upper class for objects with additional parameters.
Definition: Parameterised.h:43
NIXMLTypesHandler.h
NIImporter_SUMO::myRailSignals
std::set< std::string > myRailSignals
list of node id with rail signals (no NBTrafficLightDefinition exists)
Definition: NIImporter_SUMO.h:393
NIImporter_SUMO::addPhase
static void addPhase(const SUMOSAXAttributes &attrs, NBLoadedSUMOTLDef *currentTL)
adds a phase to the traffic lights logic currently build
Definition: NIImporter_SUMO.cpp:899
NIImporter_SUMO::WalkingAreaParsedCustomShape
Describes custom shape for a walking area during parsing.
Definition: NIImporter_SUMO.h:300
NIImporter_SUMO::EdgeAttrs::id
std::string id
This edge's id.
Definition: NIImporter_SUMO.h:239
NIImporter_SUMO
Importer for networks stored in SUMO format.
Definition: NIImporter_SUMO.h:53
SUMOSAXHandler
SAX-handler base for SUMO-files.
Definition: SUMOSAXHandler.h:42
NBNetBuilder
Instance responsible for building networks.
Definition: NBNetBuilder.h:110
NIImporter_SUMO::myProhibitions
std::vector< Prohibition > myProhibitions
Loaded prohibitions.
Definition: NIImporter_SUMO.h:323
NBTrafficLightLogicCont
A container for traffic light definitions and built programs.
Definition: NBTrafficLightLogicCont.h:58
NIImporter_SUMO::EdgeAttrs::stopOffsets
std::map< SVCPermissions, double > stopOffsets
This edge's vehicle specific stop offsets (used for lanes, that do not have a specified stopOffset)
Definition: NIImporter_SUMO.h:265
NIImporter_SUMO::EdgeAttrs::func
SumoXMLEdgeFunc func
This edge's function.
Definition: NIImporter_SUMO.h:245
NIImporter_SUMO::Crossing::customTLIndex
int customTLIndex
Definition: NIImporter_SUMO.h:293
NIImporter_SUMO::WalkingAreaParsedCustomShape::toEdges
std::vector< std::string > toEdges
Definition: NIImporter_SUMO.h:303
NIImporter_SUMO::WalkingAreaParsedCustomShape::fromCrossed
std::vector< std::string > fromCrossed
Definition: NIImporter_SUMO.h:304
NIImporter_SUMO::addEdge
void addEdge(const SUMOSAXAttributes &attrs)
Parses an edge and stores the values in "myCurrentEdge".
Definition: NIImporter_SUMO.cpp:533
NIImporter_SUMO::myCurrentLane
LaneAttrs * myCurrentLane
The currently parsed lanes's definition (to add the shape to)
Definition: NIImporter_SUMO.h:344
NIImporter_SUMO::Crossing::edgeID
std::string edgeID
Definition: NIImporter_SUMO.h:288
SUMOSAXHandler.h
NIImporter_SUMO::Crossing::customShape
PositionVector customShape
Definition: NIImporter_SUMO.h:292
NIImporter_SUMO::Connection::contPos
double contPos
custom position for internal junction on this connection
Definition: NIImporter_SUMO.h:191
NIImporter_SUMO::getLaneAttrsFromID
LaneAttrs * getLaneAttrsFromID(EdgeAttrs *edge, std::string lane_id)
Parses lane index from lane ID an retrieve lane from EdgeAttrs.
Definition: NIImporter_SUMO.cpp:858
GeoConvHelper.h
SumoXMLEdgeFunc
SumoXMLEdgeFunc
Numbers representing special SUMO-XML-attribute values for representing edge functions used in netbui...
Definition: SUMOXMLDefinitions.h:1074
NIImporter_SUMO::Prohibition::prohibitedTo
std::string prohibitedTo
Definition: NIImporter_SUMO.h:278
NIImporter_SUMO::EdgeAttrs::priority
int priority
This edge's priority.
Definition: NIImporter_SUMO.h:255
NIImporter_SUMO::NIImporter_SUMO
NIImporter_SUMO(NBNetBuilder &nb)
Constructor.
Definition: NIImporter_SUMO.cpp:67
NIImporter_SUMO::addRoundabout
void addRoundabout(const SUMOSAXAttributes &attrs)
Parses a roundabout and stores it in myEdgeCont.
Definition: NIImporter_SUMO.cpp:1025
NIImporter_SUMO::WalkingAreaParsedCustomShape::shape
PositionVector shape
Definition: NIImporter_SUMO.h:301
NIImporter_SUMO::myCheckLaneFoesRoundabout
bool myCheckLaneFoesRoundabout
Definition: NIImporter_SUMO.h:387
NIImporter_SUMO::Connection
A connection description.
Definition: NIImporter_SUMO.h:177
PositionVector
A list of positions.
Definition: PositionVector.h:46
GeoConvHelper
static methods for processing the coordinates conversion for the current net
Definition: GeoConvHelper.h:56
NIImporter_SUMO::myLimitTurnSpeed
double myLimitTurnSpeed
whether turning speed was limited in the network
Definition: NIImporter_SUMO.h:383
NIImporter_SUMO::Crossing::Crossing
Crossing(const std::string &_edgeID)
Definition: NIImporter_SUMO.h:285
NIImporter_SUMO::JunctionAttrs
Describes the values found in a junction.
Definition: NIImporter_SUMO.h:311
NIImporter_SUMO::WalkingAreaParsedCustomShape::fromEdges
std::vector< std::string > fromEdges
Definition: NIImporter_SUMO.h:302
NBNodeCont
Container for nodes during the netbuilding process.
Definition: NBNodeCont.h:60
NIImporter_SUMO::LaneAttrs
Describes the values found in a lane's definition.
Definition: NIImporter_SUMO.h:206
NIImporter_SUMO::addStopOffsets
void addStopOffsets(const SUMOSAXAttributes &attrs, bool &ok)
parses stop offsets for the current lane or edge
Definition: NIImporter_SUMO.cpp:646
NIImporter_SUMO::Connection::speed
double speed
custom speed for connection
Definition: NIImporter_SUMO.h:195
NIImporter_SUMO::LaneAttrs::type
std::string type
the type of this lane
Definition: NIImporter_SUMO.h:230
NIImporter_SUMO::myLastParameterised
std::vector< Parameterised * > myLastParameterised
element to receive parameters
Definition: NIImporter_SUMO.h:359
NIImporter_SUMO::LaneAttrs::customShape
bool customShape
Whether this lane has a custom shape.
Definition: NIImporter_SUMO.h:228
NBEdge
The representation of a single edge during network building.
Definition: NBEdge.h:86
NIImporter_SUMO::WalkingAreaParsedCustomShape::toCrossed
std::vector< std::string > toCrossed
Definition: NIImporter_SUMO.h:305
NIImporter_SUMO::myAmLefthand
bool myAmLefthand
whether the loaded network was built for lefthand traffic
Definition: NIImporter_SUMO.h:368
NIImporter_SUMO::initTrafficLightLogic
static NBLoadedSUMOTLDef * initTrafficLightLogic(const SUMOSAXAttributes &attrs, NBLoadedSUMOTLDef *currentTL)
begins the reading of a traffic lights logic
Definition: NIImporter_SUMO.cpp:873
NIImporter_SUMO::LaneAttrs::width
double width
The width of this lane.
Definition: NIImporter_SUMO.h:218
NIImporter_SUMO::EdgeAttrs::builtEdge
NBEdge * builtEdge
The built edge.
Definition: NIImporter_SUMO.h:261
NIImporter_SUMO::Prohibition::prohibitorTo
std::string prohibitorTo
Definition: NIImporter_SUMO.h:276
NIImporter_SUMO::addLane
void addLane(const SUMOSAXAttributes &attrs)
Parses a lane and stores the values in "myCurrentLane".
Definition: NIImporter_SUMO.cpp:584
NIImporter_SUMO::parseProhibitionConnection
void parseProhibitionConnection(const std::string &attr, std::string &from, std::string &to, bool &ok)
parses connection string of a prohibition (very old school)
Definition: NIImporter_SUMO.cpp:996
NIImporter_SUMO::myRoundabouts
std::vector< std::vector< std::string > > myRoundabouts
loaded roundabout edges
Definition: NIImporter_SUMO.h:390
NIImporter_SUMO::Connection::keepClear
bool keepClear
Whether the junction must be kept clear coming from this connection.
Definition: NIImporter_SUMO.h:189
NIImporter_SUMO::myCurrentJunction
JunctionAttrs myCurrentJunction
The currently parsed junction definition to help in reconstructing crossings.
Definition: NIImporter_SUMO.h:341
NIImporter_SUMO::LaneAttrs::stopOffsets
std::map< SVCPermissions, double > stopOffsets
This lane's vehicle specific stop offsets.
Definition: NIImporter_SUMO.h:222
NIImporter_SUMO::Connection::tlLinkIndex
int tlLinkIndex
The index of this connection within the controlling traffic light.
Definition: NIImporter_SUMO.h:185
NIImporter_SUMO::myHaveSeenInternalEdge
bool myHaveSeenInternalEdge
whether the loaded network contains internal lanes
Definition: NIImporter_SUMO.h:365
NIImporter_SUMO::Connection::visibility
double visibility
custom foe visibility for connection
Definition: NIImporter_SUMO.h:193
NIImporter_SUMO::LaneAttrs::oppositeID
std::string oppositeID
This lane's opposite lane.
Definition: NIImporter_SUMO.h:226
NIImporter_SUMO::myRectLaneCut
bool myRectLaneCut
whether all lanes of an edge should have the same stop line
Definition: NIImporter_SUMO.h:377
NIImporter_SUMO::LaneAttrs::allow
std::string allow
This lane's allowed vehicle classes.
Definition: NIImporter_SUMO.h:214
Parameterised.h
NIImporter_SUMO::myNetBuilder
NBNetBuilder & myNetBuilder
The network builder to fill.
Definition: NIImporter_SUMO.h:326
NIImporter_SUMO::LaneAttrs::disallow
std::string disallow
This lane's disallowed vehicle classes.
Definition: NIImporter_SUMO.h:216
NIImporter_SUMO::LaneAttrs::endOffset
double endOffset
This lane's offset from the intersection.
Definition: NIImporter_SUMO.h:220
NIImporter_SUMO::myTypesHandler
NIXMLTypesHandler myTypesHandler
The handler for parsing edge types and restrictions.
Definition: NIImporter_SUMO.h:335
NIImporter_SUMO::EdgeAttrs
Describes the values found in an edge's definition and this edge's lanes.
Definition: NIImporter_SUMO.h:237
NIImporter_SUMO::_loadNetwork
void _loadNetwork(OptionsCont &oc)
load the network
Definition: NIImporter_SUMO.cpp:104
NIXMLTypesHandler
Importer for edge type information stored in XML.
Definition: NIXMLTypesHandler.h:47
NIImporter_SUMO::myLinkDetail
int myLinkDetail
the level of geometry detail for internal lanes in the loaded network
Definition: NIImporter_SUMO.h:374
NIImporter_SUMO::loadLocation
static GeoConvHelper * loadLocation(const SUMOSAXAttributes &attrs)
Parses network location description and registers it with GeoConveHelper::setLoaded.
Definition: NIImporter_SUMO.cpp:969
Position
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:39
NIImporter_SUMO::myCurrentEdge
EdgeAttrs * myCurrentEdge
The currently parsed edge's definition (to add loaded lanes to)
Definition: NIImporter_SUMO.h:338
NIImporter_SUMO::EdgeAttrs::shape
PositionVector shape
This edges's shape.
Definition: NIImporter_SUMO.h:251
NIImporter_SUMO::Connection::customShape
PositionVector customShape
custom shape connection
Definition: NIImporter_SUMO.h:197
NIImporter_SUMO::Prohibition::prohibitorFrom
std::string prohibitorFrom
Definition: NIImporter_SUMO.h:275
NIImporter_SUMO::addConnection
void addConnection(const SUMOSAXAttributes &attrs)
Parses a connection and saves it into the lane's definition stored in "myCurrentLane".
Definition: NIImporter_SUMO.cpp:743
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:90
NIImporter_SUMO::Connection::uncontrolled
bool uncontrolled
if set to true, This connection will not be TLS-controlled despite its node being controlled.
Definition: NIImporter_SUMO.h:199
NIImporter_SUMO::Connection::mayDefinitelyPass
bool mayDefinitelyPass
Information about being definitely free to drive (on-ramps)
Definition: NIImporter_SUMO.h:187
NIImporter_SUMO::reconstructEdgeShape
static PositionVector reconstructEdgeShape(const EdgeAttrs *edge, const Position &from, const Position &to)
reconstructs the edge shape from the node positions and the given lane shapes since we do not know th...
Definition: NIImporter_SUMO.cpp:925
NIImporter_SUMO::loadNetwork
static void loadNetwork(OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given SUMO file.
Definition: NIImporter_SUMO.cpp:58
NIImporter_SUMO::EdgeAttrs::streetName
std::string streetName
This edge's street name.
Definition: NIImporter_SUMO.h:241
NIImporter_SUMO::myPedestrianCrossings
std::map< std::string, std::vector< Crossing > > myPedestrianCrossings
The pedestrian crossings found in the network.
Definition: NIImporter_SUMO.h:353
NIImporter_SUMO::Crossing
Describes a pedestrian crossing.
Definition: NIImporter_SUMO.h:284
NIImporter_SUMO::EdgeAttrs::type
std::string type
This edge's type.
Definition: NIImporter_SUMO.h:243
NIImporter_SUMO::Connection::toEdgeID
std::string toEdgeID
The id of the target edge.
Definition: NIImporter_SUMO.h:179
NIImporter_SUMO::Connection::toLaneIdx
int toLaneIdx
The index of the target lane.
Definition: NIImporter_SUMO.h:181
NIImporter_SUMO::EdgeAttrs::toNode
std::string toNode
The node this edge ends at.
Definition: NIImporter_SUMO.h:249
NIImporter_SUMO::myStartElement
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Definition: NIImporter_SUMO.cpp:393
NIImporter_SUMO::Connection::tlID
std::string tlID
The id of the traffic light that controls this connection.
Definition: NIImporter_SUMO.h:183
NIImporter_SUMO::Crossing::width
double width
Definition: NIImporter_SUMO.h:290
NIImporter_SUMO::JunctionAttrs::node
NBNode * node
Definition: NIImporter_SUMO.h:312
NIImporter_SUMO::addJunction
void addJunction(const SUMOSAXAttributes &attrs)
Parses a junction and saves it in the node control.
Definition: NIImporter_SUMO.cpp:676
NIImporter_SUMO::myNetworkVersion
double myNetworkVersion
the loaded network version
Definition: NIImporter_SUMO.h:362
NIImporter_SUMO::~NIImporter_SUMO
~NIImporter_SUMO()
Destructor.
Definition: NIImporter_SUMO.cpp:90
NIImporter_SUMO::myTLLCont
NBTrafficLightLogicCont & myTLLCont
The node container to fill.
Definition: NIImporter_SUMO.h:332
NIImporter_SUMO::Prohibition::prohibitedFrom
std::string prohibitedFrom
Definition: NIImporter_SUMO.h:277
LaneSpreadFunction
LaneSpreadFunction
Numbers representing special SUMO-XML-attribute values Information how the edge's lateral offset shal...
Definition: SUMOXMLDefinitions.h:1092
NIImporter_SUMO::LaneAttrs::maxSpeed
double maxSpeed
The maximum velocity allowed on this lane.
Definition: NIImporter_SUMO.h:208
NIImporter_SUMO::myWalkingAreas
bool myWalkingAreas
whether walkingareas must be built
Definition: NIImporter_SUMO.h:380
config.h
NIImporter_SUMO::EdgeAttrs::lsf
LaneSpreadFunction lsf
The lane spread function.
Definition: NIImporter_SUMO.h:263
NIImporter_SUMO::EdgeAttrs::maxSpeed
double maxSpeed
The maximum velocity allowed on this edge (!!!)
Definition: NIImporter_SUMO.h:257
NIImporter_SUMO::Crossing::priority
bool priority
Definition: NIImporter_SUMO.h:291
NIImporter_SUMO::Crossing::customTLIndex2
int customTLIndex2
Definition: NIImporter_SUMO.h:294
NIImporter_SUMO::Crossing::crossingEdges
std::vector< std::string > crossingEdges
Definition: NIImporter_SUMO.h:289
NIImporter_SUMO::EdgeAttrs::fromNode
std::string fromNode
The node this edge starts at.
Definition: NIImporter_SUMO.h:247
NBNode
Represents a single node (junction) during network building.
Definition: NBNode.h:68
NIImporter_SUMO::EdgeAttrs::lanes
std::vector< LaneAttrs * > lanes
This edge's lanes.
Definition: NIImporter_SUMO.h:259
NIImporter_SUMO::myCheckLaneFoesAll
bool myCheckLaneFoesAll
whether foe-relationships where checked at lane-level
Definition: NIImporter_SUMO.h:386
NBLoadedSUMOTLDef.h
NIImporter_SUMO::addRequest
void addRequest(const SUMOSAXAttributes &attrs)
Parses a reques and saves selected attributes in myCurrentJunction.
Definition: NIImporter_SUMO.cpp:734
NIImporter_SUMO::myCornerDetail
int myCornerDetail
the level of corner detail in the loaded network
Definition: NIImporter_SUMO.h:371
NIImporter_SUMO::LaneAttrs::connections
std::vector< Connection > connections
This lane's connections.
Definition: NIImporter_SUMO.h:212
NIImporter_SUMO::myCurrentTL
NBLoadedSUMOTLDef * myCurrentTL
The currently parsed traffic light.
Definition: NIImporter_SUMO.h:347
NIImporter_SUMO::EdgeAttrs::length
double length
The length of the edge if set explicitly.
Definition: NIImporter_SUMO.h:253
SUMOSAXAttributes
Encapsulated SAX-Attributes.
Definition: SUMOSAXAttributes.h:57
NIImporter_SUMO::myEndElement
void myEndElement(int element)
Called when a closing tag occurs.
Definition: NIImporter_SUMO.cpp:482
NIImporter_SUMO::LaneAttrs::shape
PositionVector shape
This lane's shape (needed to reconstruct edge shape for legacy networks)
Definition: NIImporter_SUMO.h:210
NIImporter_SUMO::readPosition
static Position readPosition(const SUMOSAXAttributes &attrs, const std::string &id, bool &ok)
read position from the given attributes, attribute errors to id
Definition: NIImporter_SUMO.cpp:987
NIImporter_SUMO::addProhibition
void addProhibition(const SUMOSAXAttributes &attrs)
Parses a prohibition and saves it.
Definition: NIImporter_SUMO.cpp:840
NIImporter_SUMO::myEdges
std::map< std::string, EdgeAttrs * > myEdges
Loaded edge definitions.
Definition: NIImporter_SUMO.h:320
NIImporter_SUMO::myNodeCont
NBNodeCont & myNodeCont
The node container to fill.
Definition: NIImporter_SUMO.h:329
NIImporter_SUMO::JunctionAttrs::intLanes
std::vector< std::string > intLanes
Definition: NIImporter_SUMO.h:314
NIImporter_SUMO::myLocation
GeoConvHelper * myLocation
The coordinate transformation which was used to build the loaded network.
Definition: NIImporter_SUMO.h:350
NIImporter_SUMO::LaneAttrs::accelRamp
bool accelRamp
Whether this lane is an acceleration lane.
Definition: NIImporter_SUMO.h:224
NIImporter_SUMO::Prohibition
Describes the values found in a prohibition.
Definition: NIImporter_SUMO.h:274
NBLoadedSUMOTLDef
A loaded (complete) traffic light logic.
Definition: NBLoadedSUMOTLDef.h:45