22 #ifndef NIImporter_DlrNavteq_h
23 #define NIImporter_DlrNavteq_h
97 std::map<std::string, PositionVector>& geoms);
115 bool report(
const std::string& result);
123 std::map<std::string, PositionVector>&
myGeoms;
155 const std::string& file,
156 std::map<std::string, PositionVector>& geoms,
157 std::map<std::string, std::string>& streetNames);
173 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);
bool report(const std::string &result)
Parsing method.
NBNodeCont & myNodeCont
The node container to get the referenced nodes from.
bool report(const std::string &result)
Parsing method.
EdgesHandler & operator=(const EdgesHandler &)
Invalidated assignment operator.
std::map< std::string, std::string > & myStreetNames
Previously read streat names (non-const because operate[] is more convenient)
Importer of street names in DLRNavteq's (aka elmar) format.
Importer of nodes stored in unsplit elmar format.
A container for traffic light definitions and built programs.
bool report(const std::string &result)
Parsing method.
Importer for networks stored in Elmar's format.
NodesHandler(NBNodeCont &nc, const std::string &file, std::map< std::string, PositionVector > &geoms)
Constructor.
TrafficlightsHandler & operator=(const TrafficlightsHandler &)
Invalidated assignment operator.
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.
bool myTryIgnoreNodePositions
Whether node positions shall not be added to the edge's geometry.
std::map< std::string, PositionVector > & myGeoms
Previously read edge geometries (manipulated during use)
NBNodeCont & myNodeCont
The node container to get the referenced nodes from.
Importer of traffic lights stored in DLRNavteq's (aka elmar) format.
static const int MISSING_COLUMN
Interface definition for a class which retrieves lines from a LineHandler.
NamesHandler & operator=(const NamesHandler &)
Invalidated assignment operator.
Importer of edges stored in unsplit elmar format.
NamesHandler(const std::string &file, std::map< std::string, std::string > &streetNames)
Constructor.
std::map< std::string, PositionVector > & myGeoms
A container for parsed geometries.
Storage for edges, including some functionality operating on multiple edges.
const std::string myFile
the file being parsed
~NodesHandler()
Destructor.
SUMOReal myVersion
version number of current file
NodesHandler & operator=(const NodesHandler &)
Invalidated assignment operator.
std::string getStreetNameFromIDs(const std::string ®ionalID, const std::string &localID) const
build the street name for the given ids
NBEdgeCont & myEdgeCont
The edge container to get the referenced edges from.
EdgesHandler(NBNodeCont &nc, NBEdgeCont &ec, const std::string &file, std::map< std::string, PositionVector > &geoms, std::map< std::string, std::string > &streetNames)
Constructor.
Instance responsible for building networks.
A storage for options typed value containers)
std::map< std::string, std::string > & myStreetNames
The container for storing read names.
NBTrafficLightLogicCont & myTLLogicCont
The traffic lights container to add built tls to.
static const int GEO_SCALE
scaling factor for geo coordinates (DLRNavteq format uses this to increase floating point precisions)...
~TrafficlightsHandler()
Destructor.
Container for nodes during the netbuilding process.
TrafficlightsHandler(NBNodeCont &nc, NBTrafficLightLogicCont &tlc, NBEdgeCont &ne, const std::string &file)
Constructor.
~NamesHandler()
Destructor.
~EdgesHandler()
Destructor.
std::vector< int > myColumns
the version number of the edge file being parsed
A storage for available types of edges.
std::string getColumn(const StringTokenizer &st, ColumnName name, const std::string fallback="")
bool report(const std::string &result)
Parsing method.