 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
59 #include <netimport/typemap.h>
76 if (!oc.
isSet(
"type-files")) {
77 std::vector<std::string> files;
78 if (oc.
isSet(
"osm-files")) {
79 files.push_back(osmTypemap);
81 if (oc.
isSet(
"opendrive-files")) {
82 files.push_back(opendriveTypemap);
101 if (oc.
getBool(
"tls.discard-loaded") || oc.
getBool(
"tls.discard-simple")) {
103 oc.
getBool(
"tls.guess-signals"));
109 if (oc.
getBool(
"railway.signals.discard")) {
175 if (oc.
exists(
"ptstop-files")) {
184 if (oc.
exists(
"ptline-files")) {
193 if (oc.
exists(
"polygon-files")) {
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
Importer for network edges stored in XML.
Importer for network nodes stored in XML.
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given OSM file.
#define WRITE_WARNING(msg)
Instance responsible for building networks.
int getNoEdgeSplits() const
Returns the number of edge splits.
Importer for edge connections stored in XML.
static void load(SUMOSAXHandler *handler, const std::vector< std::string > &files, const std::string &type, const bool stringParse=false)
static GeoConvHelper & getProcessing()
the coordinate transformation to use for input conversion and processing
Importer for edge connections stored in XML.
bool exists(const std::string &name) const
Returns the information whether the named option is known.
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given MATSIM network files.
NBEdgeCont & getEdgeCont()
const StringVector & getStringVector(const std::string &name) const
Returns the list of string-value of the named option (only for Option_StringVector)
Importer for network edges stored in XML.
NBPTStopCont & getPTStopCont()
Returns a reference to the pt stop container.
NBPTLineCont & getPTLineCont()
Returns a reference to the pt line container.
int size() const
Returns the number of edges.
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given ArcView Shape files.
Importer for edge type information stored in XML.
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given RoboCup Rescue League files.
A storage for options typed value containers)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given ITSUMO network files.
static void loadNetwork(OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given SUMO file.
void load(OptionsCont &oc)
void loadXML(OptionsCont &oc)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given dlr-navteq (aka Elmar-fomat) folder.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
int size() const
Returns the number of known types.
std::set< std::string > deprecatedVehicleClassesSeen
int getNumExtracted() const
return the number of extracted traffic light definitions
NBTrafficLightLogicCont & getTLLogicCont()
Returns a reference to the traffic light logics container.
int size() const
Returns the number of nodes stored in this container.
NBDistrictCont & getDistrictCont()
Returns a reference the districts container.
NBNetBuilder & myNetBuilder
The network builder to fill with loaded data.
void discardRailSignals()
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads network definition from the assigned option and stores it in the given network builder.
ShapeContainer & getShapeCont()
static void loadIfSet(OptionsCont &oc)
loads heigh map data if any loading options are set
NBNodeCont & getNodeCont()
Returns a reference to the node container.
void discardTrafficLights(NBTrafficLightLogicCont &tlc, bool geometryLike, bool guessSignals)
NBTypeCont & getTypeCont()
Returns a reference to the type container.
#define WRITE_MESSAGE(msg)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given SUMO file.
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads network definition from the assigned option and stores it in the given network builder.
int size() const
Returns the number of districts inside the container.
NILoader(NBNetBuilder &nb)
Constructor.