remove trivial geometry nodes

This commit is contained in:
Dennis Luxen
2014-01-04 12:10:22 +01:00
parent cc915dbef2
commit b5170ed1fd
10 changed files with 503 additions and 118 deletions
+13 -2
View File
@@ -113,8 +113,8 @@ private:
}
void LoadNodeAndEdgeInformation(
const boost::filesystem::path nodes_file,
const boost::filesystem::path edges_file
const boost::filesystem::path & nodes_file,
const boost::filesystem::path & edges_file
) {
boost::filesystem::ifstream nodes_input_stream(
nodes_file,
@@ -163,6 +163,12 @@ private:
edges_input_stream.close();
}
void LoadGeometries(
const boost::filesystem::path & geometries_file
) {
}
void LoadRTree(
const boost::filesystem::path & ram_index_path,
const boost::filesystem::path & file_index_path
@@ -249,12 +255,17 @@ public:
paths_iterator = server_paths.find("namesdata");
BOOST_ASSERT(server_paths.end() != paths_iterator);
const boost::filesystem::path & names_data_path = paths_iterator->second;
paths_iterator = server_paths.find("geometries");
BOOST_ASSERT(server_paths.end() != paths_iterator);
const boost::filesystem::path & geometries_path = paths_iterator->second;
//load data
SimpleLogger().Write() << "loading graph data";
LoadGraph(hsgr_path);
SimpleLogger().Write() << "loading egde information";
LoadNodeAndEdgeInformation(nodes_data_path, edges_data_path);
SimpleLogger().Write() << "loading geometries";
LoadGeometries( geometries_path );
SimpleLogger().Write() << "loading r-tree";
LoadRTree(ram_index_path, file_index_path);
SimpleLogger().Write() << "loading timestamp";
+1
View File
@@ -241,6 +241,7 @@ public:
LoadGraph();
LoadNodeAndEdgeInformation();
//TODO: LoadGeometries();
LoadRTree(ram_index_path);
LoadTimestamp();
LoadViaNodeList();