75 const std::string& dbf_name,
const std::string& shp_name,
93 double getSpeed(OGRFeature& f,
const std::string& edgeid);
99 double getLaneWidth(OGRFeature& f,
const std::string& edgeid,
int laneNumber);
105 double getLength(OGRFeature& f,
const std::string& edgeid);
112 int getLaneNo(OGRFeature& f,
113 const std::string& edgeid,
double speed);
119 int getPriority(OGRFeature& f,
const std::string& edgeid);
129 void checkSpread(
NBEdge* e);
145 bool getStringEntry(OGRFeature* poFeature,
const std::string& optionName,
const char* defaultName,
bool prune, std::string& into);
148 std::vector<std::string> getFieldNames(OGRFeature* poFeature)
const;
151 void addParams(
NBEdge* edge, OGRFeature* poFeature,
const std::vector<std::string>& params)
const;
Storage for edges, including some functionality operating on multiple edges.
The representation of a single edge during network building.
Instance responsible for building networks.
Container for nodes during the netbuilding process.
A storage for available edgeTypes of edges.
Importer for networks stored in ArcView-shape format.
const OptionsCont & myOptions
The options to use.
void load()
Loads the shape files.
int myRunningEdgeID
A running number to assure unique ids (as fallback)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given ArcView Shape files.
std::string mySHPName
The name of the shape file.
NIImporter_ArcView(const NIImporter_ArcView &)
Invalidated copy constructor.
NBTypeCont & myTypeCont
The container to get the types from.
NBNodeCont & myNodeCont
The container to add nodes to.
int myNameAddition
A running number to assure unique edge ids.
bool mySpeedInKMH
Whether the speed is given in km/h.
~NIImporter_ArcView()
Destructor.
NIImporter_ArcView & operator=(const NIImporter_ArcView &)
Invalidated assignment operator.
NBEdgeCont & myEdgeCont
The container to add edges to.
NIImporter_ArcView(const OptionsCont &oc, NBNodeCont &nc, NBEdgeCont &ec, NBTypeCont &tc, const std::string &dbf_name, const std::string &shp_name, bool speedInKMH)
Constructor.
A storage for options typed value containers)