74 const std::string& shp_name,
92 double getSpeed(OGRFeature& f,
const std::string& edgeid);
98 double getLaneWidth(OGRFeature& f,
const std::string& edgeid,
int laneNumber);
104 double getLength(OGRFeature& f,
const std::string& edgeid);
111 int getLaneNo(OGRFeature& f,
112 const std::string& edgeid,
double 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);
147 std::vector<std::string> getFieldNames(OGRFeature* poFeature)
const;
150 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.
NBEdgeCont & myEdgeCont
The container to add edges to.
NIImporter_ArcView & operator=(const NIImporter_ArcView &)
Invalidated assignment operator.
A storage for options typed value containers)