30 #ifndef __TERRALIB_GRAPH_INTERNAL_FLOWGRAPHBUILDER_H
31 #define __TERRALIB_GRAPH_INTERNAL_FLOWGRAPHBUILDER_H
34 #include "../Config.h"
43 #include <boost/ptr_container/ptr_vector.hpp>
55 namespace dt {
class Property; }
57 namespace gm {
class GeometryProperty; }
110 bool build(
const std::string& shapeFileName,
const std::string& linkColumn,
const int& srid,
const std::string& csvFileName,
const int& fromIdx,
const int& toIdx,
const int& weightIdx,
111 const std::string& dsInfo,
const std::string& graphType,
const std::map<std::string, std::string>& gInfo);
131 std::unique_ptr<te::da::DataSource> getDataSource(
const std::string fileName);
159 bool createVertexObjects(
const std::string& shapeFileName,
const std::string& linkColumn,
const int& srid);
172 bool createEdgeObjects(
const std::string& csvFileName,
const int& fromIdx,
const int& toIdx,
const int& weightIdx);
181 #endif // __TERRALIB_GRAPH_INTERNAL_LDDGRAPHBUILDER_H
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
int m_edgeId
Attribute used as a index counter for edge objects.
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
This class defines the Flow strategy to build a graph.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...