22 #ifndef NIImporter_ArcView_h 23 #define NIImporter_ArcView_h 85 const std::string& dbf_name,
const std::string& shp_name,
103 SUMOReal getSpeed(OGRFeature& f,
const std::string& edgeid);
111 int getLaneNo(OGRFeature& f,
112 const std::string& edgeid,
SUMOReal speed);
118 int getPriority(OGRFeature& f,
const std::string& edgeid);
128 void checkSpread(
NBEdge* e);
144 bool getStringEntry(OGRFeature* poFeature,
const std::string& optionName,
const char* defaultName,
bool prune, std::string& into);
int myNameAddition
A running number to assure unique edge ids.
~NIImporter_ArcView()
Destructor.
int myRunningNodeID
A running number to assure unique node ids.
std::string mySHPName
The name of the shape file.
NBTypeCont & myTypeCont
The container to get the types from.
The representation of a single edge during network building.
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given ArcView Shape files.
const OptionsCont & myOptions
The options to use.
void load()
Loads the shape files.
NIImporter_ArcView & operator=(const NIImporter_ArcView &)
Invalidated assignment operator.
Storage for edges, including some functionality operating on multiple edges.
Importer for networks stored in ArcView-shape format.
NIImporter_ArcView(const OptionsCont &oc, NBNodeCont &nc, NBEdgeCont &ec, NBTypeCont &tc, const std::string &dbf_name, const std::string &shp_name, bool speedInKMH)
Constructor.
Instance responsible for building networks.
NBNodeCont & myNodeCont
The container to add nodes to.
A storage for options typed value containers)
Container for nodes during the netbuilding process.
NBEdgeCont & myEdgeCont
The container to add edges to.
bool mySpeedInKMH
Whether the speed is given in km/h.
A storage for available types of edges.