45 #ifndef __TERRALIB_SA_INTERNAL_SPATIALWEIGHTSEXCHANGER_H
46 #define __TERRALIB_SA_INTERNAL_SPATIALWEIGHTSEXCHANGER_H
49 #include "../Config.h"
65 class GeneralizedProximityMatrix;
An abstract class for data providers like a DBMS, Web Services or a regular file.
This class defines a Generalized Proximity Matrix.
This class defines functions used to load and save gpm's using GAL and GWT formats,...
te::sa::GeneralizedProximityMatrix * importFromGWT(std::string pathFileName, te::da::DataSource *ds=0)
Function used to import a gpm from a Spatial Weights File GWT Format.
void exportToGWT(te::sa::GeneralizedProximityMatrix *gpm, std::string pathFileName, int distAttrIdx)
Function used to export a gpm to Spatial Weights File GWT Format.
void associateGeometry(te::sa::GeneralizedProximityMatrix *gpm, te::da::DataSource *ds)
Function used to associate the geometry coord attribute to vertex objects.
void exportToGAL(te::sa::GeneralizedProximityMatrix *gpm, std::string pathFileName)
Function used to export a gpm to Spatial Weights File GAL Format.
static void getSpatialWeightsFileInfo(std::string pathFileName, std::string &dataSetName, std::string &attrName)
Function used to get information of how a Spatial Weights was generated.
te::sa::GeneralizedProximityMatrix * importFromGAL(std::string pathFileName, te::da::DataSource *ds=0)
Function used to import a gpm from a Spatial Weights File GAL Format.
int getEdgeId()
Function used to generated the edge id.
~SpatialWeightsExchanger()
Virtual destructor.
SpatialWeightsExchanger()
Default constructor.
int m_edgeId
Attribute used as a index counter for edge objects.
#define TESAEXPORT
You can use this macro in order to export/import classes and functions from this module.