29 #ifndef __TERRALIB_GRAPH_INTERNAL_RAGGRAPHBUILDER_H 30 #define __TERRALIB_GRAPH_INTERNAL_RAGGRAPHBUILDER_H 33 #include "../Config.h" 49 namespace dt {
class Property; }
51 namespace gm {
class GeometryProperty; }
96 bool build(
const std::string& shapeFileName,
const std::string& linkColumn,
const int& srid,
97 const std::string& dsInfo,
const std::string& graphType,
const std::map<std::string, std::string>& gInfo);
117 std::unique_ptr<te::da::DataSource>
getDataSource(
const std::string& fileName);
145 bool createVertexObjects(
const std::string& shapeFileName,
const std::string& linkColumn,
const int& srid);
156 bool createEdgeObjects(
const std::string& shapeFileName,
const std::string& linkColumn);
167 bool getGeometryColumn(
const std::string& shapeFileName, std::string& columnName);
178 #endif // __TERRALIB_GRAPH_INTERNAL_RAGGRAPHBUILDER_H te::da::DataSource * getDataSource(const std::string &src)
TerraLib include files.
This class defines the RAG strategy to build a graph,.
static te::dt::Date ds(2010, 01, 01)
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
int m_edgeId
Attribute used as a index counter for edge objects.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...
static te::dt::TimeDuration dt(20, 30, 50, 11)
te::da::DataSet * getDataSet(te::da::DataSource *ds)
This abstract class provides the common functions for graph builder classes. Each builder strategy ha...