21 #ifndef NIImporter_DlrNavteq_h 22 #define NIImporter_DlrNavteq_h 99 std::map<std::string, PositionVector>& geoms);
117 bool report(
const std::string& result);
125 std::map<std::string, PositionVector>&
myGeoms;
158 const std::string& file,
159 std::map<std::string, PositionVector>& geoms,
160 std::map<std::string, std::string>& streetNames);
176 bool report(
const std::string& result);
190 std::map<std::string, PositionVector>&
myGeoms;
241 std::string getStreetNameFromIDs(
const std::string& regionalID,
const std::string& localID)
const;
286 bool report(
const std::string& result);
324 NamesHandler(
const std::string& file, std::map<std::string, std::string>& streetNames);
340 bool report(
const std::string& result);
388 bool report(
const std::string& result);
449 bool report(
const std::string& result);
500 bool report(
const std::string& result);
518 static double readVersion(
const std::string& line,
const std::string& file);
519 static int readPrefixedInt(
const std::string& s,
const std::string& prefix,
int fallBack = 0);
520 static time_t
readTimeRec(
const std::string& start,
const std::string& duration);
521 static time_t
readDate(
const std::string& yyyymmdd);
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
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 const std::string UNDEFINED
magic value for undefined stuff
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)
Imports prohibitions regarding connectivity.
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.
static double readVersion(const std::string &line, const std::string &file)
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
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)
double myVersion
version number of current file
time_t myConstructionTime
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.
Container for nodes during the netbuilding process.
static const std::string GEO_SCALE
scaling factor for geo coordinates (DLRNavteq format uses this to increase floating point precisions)...
static time_t readDate(const std::string &yyyymmdd)
Imports prohibitions regarding connectivity.
std::vector< int > myColumns
the version number of the edge file being parsed
A storage for available types of edges.