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;
156 const std::string& file,
157 std::map<std::string, PositionVector>& geoms,
158 std::map<std::string, std::string>& streetNames);
174 bool report(
const std::string& result);
188 std::map<std::string, PositionVector>&
myGeoms;
239 std::string getStreetNameFromIDs(
const std::string& regionalID,
const std::string& localID)
const;
284 bool report(
const std::string& result);
322 NamesHandler(
const std::string& file, std::map<std::string, std::string>& streetNames);
338 bool report(
const std::string& result);
386 bool report(
const std::string& result);
416 static int readPrefixedInt(
const std::string& s,
const std::string& prefix,
int fallBack = 0);
417 static time_t
readTimeRec(
const std::string& start,
const std::string& duration);
418 static time_t
readDate(
const std::string& yyyymmdd);
NBNodeCont & myNodeCont
The node container to get the referenced nodes from.
bool report(const std::string &result)
Parsing method.
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.
Importer for networks stored in Elmar's format.
NodesHandler(NBNodeCont &nc, const std::string &file, std::map< std::string, PositionVector > &geoms)
Constructor.
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given dlr-navteq (aka Elmar-fomat) folder.
A container for districts.
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
NBDistrictCont & myDistrictCont
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 street names in DLRNavteq's (aka elmar) format.
NBTypeCont & myTypeCont
The type container to retrieve type info 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.
time_t myConstructionTime
The date for which to build the network (in case some edges are still under construction) ...
Importer of edges stored in unsplit elmar format.
int myConstructionEntries
static time_t readTimeRec(const std::string &start, const std::string &duration)
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.
static int readPrefixedInt(const std::string &s, const std::string &prefix, int fallBack=0)
SUMOReal myVersion
version number of current file
NodesHandler & operator=(const NodesHandler &)
Invalidated assignment operator.
NBEdgeCont & myEdgeCont
The edge container to get the referenced edges from.
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.
NBEdgeCont & myEdgeCont
The edge container.
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)...
Container for nodes during the netbuilding process.
static time_t readDate(const std::string &yyyymmdd)
std::vector< int > myColumns
the version number of the edge file being parsed
A storage for available types of edges.