28 #include "../../dataaccess/datasource/DataSourceInfo.h" 
   29 #include "../../dataaccess/datasource/DataSource.h" 
   30 #include "../../dataaccess/dataset/DataSet.h" 
   31 #include "../../dataaccess/utils/Utils.h" 
   32 #include "../../datatype/DateTimePeriod.h" 
   33 #include "../../datatype/DateTimeProperty.h" 
   34 #include "../../geometry/Utils.h" 
   37 #include "../Exception.h" 
   40 #include "../core/observation/ObservationDataSetInfo.h" 
   41 #include "../core/trajectory/TrajectoryDataSetInfo.h" 
   42 #include "../core/timeseries/TimeSeriesDataSetInfo.h" 
   43 #include "../core/observation/ObservationDataSet.h" 
   44 #include "../core/trajectory/TrajectoryDataSet.h" 
   45 #include "../core/timeseries/TimeSeriesDataSet.h" 
   54 std::auto_ptr<te::st::ObservationDataSet> 
 
   61  std::auto_ptr<te::da::DataSet> dset(ds->getDataSet(info.
getDataSetName(), travType));
 
   63  return buildDataSet(dset.release(), info); 
 
   67 std::auto_ptr<te::st::ObservationDataSet> 
 
   76     return std::auto_ptr<te::st::ObservationDataSet>();
 
   81   std::auto_ptr<te::da::DataSet> dset(ds->getDataSet(info.
getDataSetName(), geomPropName, &e, r, travType));
 
   83   return buildDataSet(dset.release(), info);  
 
   86 std::auto_ptr<te::st::ObservationDataSet> 
 
   95     return std::auto_ptr<te::st::ObservationDataSet>();
 
  100   std::auto_ptr<te::da::DataSet> dset(ds->getDataSet(info.
getDataSetName(), geomPropName, &geom, r, travType));
 
  102   return buildDataSet(dset.release(), info); 
 
  105 std::auto_ptr<te::st::ObservationDataSet> 
 
  116   return std::auto_ptr<te::st::ObservationDataSet>();
 
  119 std::auto_ptr<te::st::ObservationDataSet>
 
  133   return std::auto_ptr<te::st::ObservationDataSet>();
 
  137 std::auto_ptr<te::st::ObservationDataSet> 
 
  149   return std::auto_ptr<te::st::ObservationDataSet> ();
 
  158 std::auto_ptr<te::st::TrajectoryDataSet> 
 
  166  return buildDataSet(dset.release(), info); 
 
  169 std::auto_ptr<te::st::TrajectoryDataSet> 
 
  179     return std::auto_ptr<te::st::TrajectoryDataSet>();
 
  186   return buildDataSet(dset.release(), info); 
 
  189 std::auto_ptr<te::st::TrajectoryDataSet>
 
  199     return std::auto_ptr<te::st::TrajectoryDataSet>();
 
  205                           geomPropName, &e, r, travType));
 
  207   return buildDataSet(dset.release(), info);  
 
  210 std::auto_ptr<te::st::TrajectoryDataSet> 
 
  221   return std::auto_ptr<te::st::TrajectoryDataSet>();
 
  224 std::auto_ptr<te::st::TrajectoryDataSet> 
 
  238   return std::auto_ptr<te::st::TrajectoryDataSet>();
 
  241 std::auto_ptr<te::st::TrajectoryDataSet>  
 
  253   return std::auto_ptr<te::st::TrajectoryDataSet>();
 
  257                       std::vector<TimeSeriesDataSetInfo>& )
 
  262 std::auto_ptr<te::st::TimeSeriesDataSet> 
 
  271  return buildDataSet(dset.release(), info);
 
  274 std::auto_ptr<te::st::TimeSeriesDataSet> 
 
  285   return std::auto_ptr<te::st::TimeSeriesDataSet>();
 
  288 std::auto_ptr<te::st::TimeSeriesDataSet> 
 
  298     return std::auto_ptr<te::st::TimeSeriesDataSet>();
 
  305   return buildDataSet(dset.release(), info);
 
  308 std::auto_ptr<te::st::TimeSeriesDataSet>
 
  318     return std::auto_ptr<te::st::TimeSeriesDataSet>();
 
  324                           geomPropName, &e, r, travType));
 
  326   return buildDataSet(dset.release(), info);
 
  329 std::auto_ptr<te::st::TimeSeriesDataSet> 
 
  343   return std::auto_ptr<te::st::TimeSeriesDataSet>();
 
  346 std::auto_ptr<te::st::TimeSeriesDataSet>  
 
  358   return std::auto_ptr<te::st::TimeSeriesDataSet>();
 
  362 std::auto_ptr<te::dt::DateTimePeriod> 
 
  371   return std::auto_ptr<te::dt::DateTimePeriod>();
 
  374 std::auto_ptr<te::dt::DateTimePeriod> 
 
  383   return std::auto_ptr<te::dt::DateTimePeriod>();
 
  386 std::auto_ptr<te::dt::DateTimePeriod> 
 
  395   return std::auto_ptr<te::dt::DateTimePeriod>();
 
  410   std::auto_ptr<te::gm::Envelope> res(ds->getExtent(info.
getDataSetName(), geomPropName));
 
  432 std::auto_ptr<te::st::ObservationDataSet>  
 
  438 std::auto_ptr<te::st::TrajectoryDataSet>  
 
  444 std::auto_ptr<te::st::TimeSeriesDataSet>  
 
TEDATAACCESSEXPORT DataSourcePtr GetDataSource(const std::string &datasourceId, const bool opened=true)
Search for a data source with the informed id in the DataSourceManager. 
 
A class to represent a time series data set. 
 
A class to represent a DataSet that contains observations. 
 
boost::shared_ptr< DataSource > DataSourcePtr
 
A class that contains infos about a DataSet that contains observations. 
 
std::string getGeomPropName() const 
It returns the name of the property that is a geometry property. 
 
te::gm::Envelope getSpatialExtent(const ObservationDataSetInfo &info)
It returns the temporal extent of the data set with observations of a coverage series. 
 
TemporalRelation
Temporal relations between date and time (Source: Allen, 1991). 
 
const ObservationDataSetInfo & getObservationDataSetInfo() const 
It returns information about the DataSet that contains the time series observations. 
 
std::auto_ptr< ObservationDataSet > getDataSet(const ObservationDataSetInfo &info, te::common::TraverseType travType=te::common::FORWARDONLY)
It returns a ObservationDataSet, that is, a DataSet that contains observations. 
 
SpatialRelation
Spatial relations between geometric objects. 
 
This file contains a class responsible for loading spatiotemporal data from a DataSource using query ...
 
virtual ~STDataLoaderFromDS()
 
const ObservationDataSetInfo & getObservationDataSetInfo() const 
It returns information about the DataSet that contains the trajectory observations. 
 
TESTEXPORT ObservationDataSetType GetType(const ObservationDataSetInfo &info)
An auxiliary function that transform ObservationDataSetInfo into ObservationDataSetType. 
 
TraverseType
A dataset can be traversed in two ways: 
 
const std::vector< std::string > & getValuePropNames() const 
It returns the names of the DataSet properties that contains the values associated to the time series...
 
An Envelope defines a 2D rectangular region. 
 
const te::da::DataSourceInfo & getDataSourceInfo() const 
It returns the information about the DataSource. 
 
void getInfo(const TrajectoryDataSetInfo &input, std::vector< TrajectoryDataSetInfo > &output)
It returns the information about all trajectories that exist in a single DataSet. ...
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
A class that contains infos about a DataSet that contains observations of one or more trajectories...
 
A class to represent a trajectory data set. 
 
const std::string & getId() const 
 
A dataset is the unit of information manipulated by the data access module of TerraLib. 
 
A class that contains infos about a DataSet that contains observations of one or more time series...
 
std::string getDataSetName() const 
It returns the DataSet name. 
 
std::auto_ptr< ObservationDataSet > buildDataSet(te::da::DataSet *ds, const ObservationDataSetInfo &info)
It builds an ObservationDataSet from a given DataSet. 
 
std::auto_ptr< te::dt::DateTimePeriod > getTemporalExtent(const ObservationDataSetInfo &info)
It returns the temporal extent of the data set with observations.