Eclipse SUMO - Simulation of Urban MObility
|
Importer for networks stored in Elmar's format. More...
#include <NIImporter_DlrNavteq.h>
Data Structures | |
class | ConnectedLanesHandler |
Imports prohibitions regarding connectivity. More... | |
class | EdgesHandler |
Importer of edges stored in unsplit elmar format. More... | |
class | NamesHandler |
Importer of street names in DLRNavteq's (aka elmar) format. More... | |
class | NodesHandler |
Importer of nodes stored in unsplit elmar format. More... | |
class | ProhibitionHandler |
Imports prohibitions regarding connectivity. More... | |
class | TimeRestrictionsHandler |
Importer of street names in DLRNavteq's (aka elmar) format. More... | |
class | TrafficlightsHandler |
Importer of traffic lights stored in DLRNavteq's (aka elmar) format. More... | |
Static Public Member Functions | |
static void | loadNetwork (const OptionsCont &oc, NBNetBuilder &nb) |
Loads content of the optionally given dlr-navteq (aka Elmar-fomat) folder. | |
Static Public Attributes | |
static const std::string | GEO_SCALE |
scaling factor for geo coordinates (DLRNavteq format uses this to increase floating point precisions) | |
static bool | keepLength = false |
decides whether the edge length of the input format should be used | |
static const std::string | UNDEFINED |
magic value for undefined stuff | |
Static Protected Member Functions | |
static time_t | readDate (const std::string &yyyymmdd) |
static int | readPrefixedInt (const std::string &s, const std::string &prefix, int fallBack=0) |
static time_t | readTimeRec (const std::string &start, const std::string &duration) |
static double | readVersion (const std::string &line, const std::string &file) |
Importer for networks stored in Elmar's format.
Definition at line 52 of file NIImporter_DlrNavteq.h.
|
static |
Loads content of the optionally given dlr-navteq (aka Elmar-fomat) folder.
If the option "dlr-navteq-prefix" is set, the file(s) stored therein is read and the network definition stored therein is stored within the given network builder.
If the option "dlr-navteq-prefix" is not set, this method simply returns.
[in] | oc | The options to use |
[in] | nb | The network builder to fill |
Definition at line 64 of file NIImporter_DlrNavteq.cpp.
References OptionsCont::getBool(), NBNetBuilder::getDistrictCont(), NBNetBuilder::getEdgeCont(), NBNetBuilder::getNodeCont(), OptionsCont::getString(), NBNetBuilder::getTLLogicCont(), NBNetBuilder::getTypeCont(), OptionsCont::isDefault(), OptionsCont::isSet(), keepLength, NIImporter_DlrNavteq::TimeRestrictionsHandler::printSummary(), PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, LineReader::readAll(), readDate(), NBEdgeCont::recheckLaneSpread(), LineReader::setFile(), TL, TLF, and WRITE_WARNINGF.
Referenced by NILoader::load().
|
staticprotected |
Definition at line 682 of file NIImporter_DlrNavteq.cpp.
References TL, StringUtils::toInt(), and WRITE_ERRORF.
Referenced by loadNetwork().
|
staticprotected |
Definition at line 647 of file NIImporter_DlrNavteq.cpp.
Referenced by readTimeRec().
|
staticprotected |
Definition at line 658 of file NIImporter_DlrNavteq.cpp.
References readPrefixedInt().
Referenced by NIImporter_DlrNavteq::TimeRestrictionsHandler::report().
|
staticprotected |
Definition at line 154 of file NIImporter_DlrNavteq.cpp.
References StringUtils::to_lower_case(), StringUtils::toDouble(), and toString().
Referenced by NIImporter_DlrNavteq::EdgesHandler::report(), and NIImporter_DlrNavteq::ProhibitionHandler::report().
|
static |
scaling factor for geo coordinates (DLRNavteq format uses this to increase floating point precisions)
Definition at line 68 of file NIImporter_DlrNavteq.h.
Referenced by NIFrame::checkOptions().
|
static |
decides whether the edge length of the input format should be used
Definition at line 71 of file NIImporter_DlrNavteq.h.
Referenced by loadNetwork(), and NIImporter_DlrNavteq::EdgesHandler::report().
|
static |
magic value for undefined stuff
Definition at line 74 of file NIImporter_DlrNavteq.h.
Referenced by NIImporter_DlrNavteq::ProhibitionHandler::report().