 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef NIImporter_DlrNavteq_h
20 #define NIImporter_DlrNavteq_h
93 std::map<std::string, PositionVector>& geoms);
111 bool report(
const std::string& result);
119 std::map<std::string, PositionVector>&
myGeoms;
152 const std::string& file,
153 std::map<std::string, PositionVector>& geoms,
154 std::map<std::string, std::string>& streetNames);
170 bool report(
const std::string& result);
184 std::map<std::string, PositionVector>&
myGeoms;
235 std::string
getStreetNameFromIDs(
const std::string& regionalID,
const std::string& localID)
const;
280 bool report(
const std::string& result);
318 NamesHandler(
const std::string& file, std::map<std::string, std::string>& streetNames);
334 bool report(
const std::string& result);
382 bool report(
const std::string& result);
443 bool report(
const std::string& result);
494 bool report(
const std::string& result);
512 static double readVersion(
const std::string& line,
const std::string& file);
513 static int readPrefixedInt(
const std::string& s,
const std::string& prefix,
int fallBack = 0);
514 static time_t
readTimeRec(
const std::string& start,
const std::string& duration);
515 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.
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)
bool report(const std::string &result)
Parsing method.
NamesHandler & operator=(const NamesHandler &)
Invalidated assignment operator.
ConnectedLanesHandler(NBEdgeCont &ne)
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.
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)
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.
bool report(const std::string &result)
Parsing method.
NBTypeCont & myTypeCont
The type container to retrieve type info from.
~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.