 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef NIImporter_DlrNavteq_h
19 #define NIImporter_DlrNavteq_h
92 std::map<std::string, PositionVector>& geoms);
110 bool report(
const std::string& result);
118 std::map<std::string, PositionVector>&
myGeoms;
151 const std::string& file,
152 std::map<std::string, PositionVector>& geoms,
153 std::map<std::string, std::string>& streetNames);
169 bool report(
const std::string& result);
183 std::map<std::string, PositionVector>&
myGeoms;
234 std::string
getStreetNameFromIDs(
const std::string& regionalID,
const std::string& localID)
const;
279 bool report(
const std::string& result);
317 NamesHandler(
const std::string& file, std::map<std::string, std::string>& streetNames);
333 bool report(
const std::string& result);
381 bool report(
const std::string& result);
442 bool report(
const std::string& result);
493 bool report(
const std::string& result);
511 static double readVersion(
const std::string& line,
const std::string& file);
512 static int readPrefixedInt(
const std::string& s,
const std::string& prefix,
int fallBack = 0);
513 static time_t
readTimeRec(
const std::string& start,
const std::string& duration);
514 static time_t
readDate(
const std::string& yyyymmdd);
TimeRestrictionsHandler(NBEdgeCont &ec, NBDistrictCont &dc, time_t constructionTime)
Constructor.
static int readPrefixedInt(const std::string &s, const std::string &prefix, int fallBack=0)
~TimeRestrictionsHandler()
Destructor.
NBDistrictCont & myDistrictCont
NBTrafficLightLogicCont & myTLLogicCont
The traffic lights container to add built tls to.
Storage for edges, including some functionality operating on multiple edges.
TimeRestrictionsHandler & operator=(const TimeRestrictionsHandler &)
Invalidated assignment operator.
Instance responsible for building networks.
A container for traffic light definitions and built programs.
static time_t readDate(const std::string &yyyymmdd)
bool report(const std::string &result)
Parsing method.
ProhibitionHandler & operator=(const ProhibitionHandler &)
Invalidated assignment operator.
std::map< std::string, std::string > & myStreetNames
The container for storing read names.
Importer of street names in DLRNavteq's (aka elmar) format.
Importer of nodes stored in unsplit elmar format.
time_t myConstructionTime
The date for which to build the network (in case some edges are still under construction)
NamesHandler(const std::string &file, std::map< std::string, std::string > &streetNames)
Constructor.
bool myTryIgnoreNodePositions
Whether node positions shall not be added to the edge's geometry.
~TrafficlightsHandler()
Destructor.
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
Importer of street names in DLRNavteq's (aka elmar) format.
Importer of edges stored in unsplit elmar format.
Importer for networks stored in Elmar's format.
TrafficlightsHandler(NBNodeCont &nc, NBTrafficLightLogicCont &tlc, NBEdgeCont &ne, const std::string &file)
Constructor.
std::string getColumn(const StringTokenizer &st, ColumnName name, const std::string fallback="")
Interface definition for a class which retrieves lines from a LineHandler.
EdgesHandler(const EdgesHandler &)
Invalidated copy constructor.
A container for districts.
const std::string myFile
the file being parsed
~EdgesHandler()
Destructor.
~ProhibitionHandler()
Destructor.
Container for nodes during the netbuilding process.
EdgesHandler & operator=(const EdgesHandler &)
Invalidated assignment operator.
EdgesHandler(NBNodeCont &nc, NBEdgeCont &ec, NBTypeCont &tc, const std::string &file, std::map< std::string, PositionVector > &geoms, std::map< std::string, std::string > &streetNames)
Constructor.
~ConnectedLanesHandler()
Destructor.
std::map< std::string, PositionVector > & myGeoms
A container for parsed geometries.
Imports prohibitions regarding connectivity.
NBEdgeCont & myEdgeCont
The edge container to get the referenced edges from.
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
double myVersion
version number of current file
std::vector< int > myColumns
the version number of the edge file being parsed
static const int MISSING_COLUMN
std::map< std::string, std::string > & myStreetNames
Previously read streat names (non-const because operate[] is more convenient)
TrafficlightsHandler(const TrafficlightsHandler &)
Invalidated copy constructor.
ConnectedLanesHandler(const ConnectedLanesHandler &)
Invalidated copy constructor.
bool report(const std::string &result)
Parsing method.
NamesHandler & operator=(const NamesHandler &)
Invalidated assignment operator.
ConnectedLanesHandler(NBEdgeCont &ne)
Constructor.
TimeRestrictionsHandler(const TimeRestrictionsHandler &)
Invalidated copy constructor.
NodesHandler(NBNodeCont &nc, const std::string &file, std::map< std::string, PositionVector > &geoms)
Constructor.
ConnectedLanesHandler & operator=(const ConnectedLanesHandler &)
Invalidated assignment operator.
NBNodeCont & myNodeCont
The node container to get the referenced nodes from.
A storage for options typed value containers)
Imports prohibitions regarding connectivity.
@ EXTENDED_NUMBER_OF_LANES
static const std::string GEO_SCALE
scaling factor for geo coordinates (DLRNavteq format uses this to increase floating point precisions)
int myConstructionEntries
ProhibitionHandler(NBEdgeCont &ne, const std::string &file, time_t constructionTime)
Constructor.
bool report(const std::string &result)
Parsing method.
static time_t readTimeRec(const std::string &start, const std::string &duration)
ProhibitionHandler(const ProhibitionHandler &)
Invalidated copy constructor.
time_t myConstructionTime
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given dlr-navteq (aka Elmar-fomat) folder.
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
NBEdgeCont & myEdgeCont
The edge container.
bool report(const std::string &result)
Parsing method.
std::string getStreetNameFromIDs(const std::string ®ionalID, const std::string &localID) const
build the street name for the given ids
A storage for available types of edges.
bool report(const std::string &result)
Parsing method.
static double readVersion(const std::string &line, const std::string &file)
bool report(const std::string &result)
Parsing method.
NodesHandler(const NodesHandler &)
Invalidated copy constructor.
bool report(const std::string &result)
Parsing method.
NBTypeCont & myTypeCont
The type container to retrieve type info from.
NamesHandler(const NamesHandler &)
Invalidated copy constructor.
~NodesHandler()
Destructor.
NBNodeCont & myNodeCont
The node container to get the referenced nodes from.
std::map< std::string, PositionVector > & myGeoms
Previously read edge geometries (manipulated during use)
NodesHandler & operator=(const NodesHandler &)
Invalidated assignment operator.
TrafficlightsHandler & operator=(const TrafficlightsHandler &)
Invalidated assignment operator.
Importer of traffic lights stored in DLRNavteq's (aka elmar) format.
static const std::string UNDEFINED
magic value for undefined stuff
~NamesHandler()
Destructor.