A class responsible for loading spatiotemporal data from a ST in-memory DataSource which contains an internal chache of in-memory DataSets indexed by space and time. More...
#include <STDataLoaderFromMemDS.h>
Public Member Functions | |
STDataLoaderFromMemDS () | |
Constructor. More... | |
virtual | ~STDataLoaderFromMemDS () |
Inhered methods | |
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. More... | |
std::auto_ptr< ObservationDataSet > | getDataSet (const ObservationDataSetInfo &info, const te::gm::Envelope &e, te::gm::SpatialRelation r=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations whose observed geometries satisfy a given spatial relation. More... | |
std::auto_ptr< ObservationDataSet > | getDataSet (const ObservationDataSetInfo &info, const te::gm::Geometry &geom, te::gm::SpatialRelation r=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations whose observed geometries satisfy a given spatial relation. More... | |
std::auto_ptr< ObservationDataSet > | getDataSet (const ObservationDataSetInfo &info, const te::dt::DateTime &dt, te::dt::TemporalRelation r=te::dt::DURING, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations whose phenomenon times satisfy a given temporal relation. More... | |
std::auto_ptr< ObservationDataSet > | getDataSet (const ObservationDataSetInfo &info, const te::dt::DateTime &dt, te::dt::TemporalRelation tr, const te::gm::Envelope &e, te::gm::SpatialRelation sr=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations whose observed geometries satisfy a given spatial relation and phenomenon times satisfy a given temporal relation. More... | |
std::auto_ptr< ObservationDataSet > | getDataSet (const ObservationDataSetInfo &info, const te::gm::Geometry &geom, te::gm::SpatialRelation sr, const te::dt::DateTime &dt, te::dt::TemporalRelation tr=te::dt::DURING, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations whose observed geometries satisfy a given spatial relation and phenomenon times satisfy a given temporal relation. More... | |
void | getInfo (const TrajectoryDataSetInfo &input, std::vector< TrajectoryDataSetInfo > &output) |
It returns the information about all trajectories that exist in a single DataSet. More... | |
std::auto_ptr< TrajectoryDataSet > | getDataSet (const TrajectoryDataSetInfo &info, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations of a trajectory. More... | |
std::auto_ptr< TrajectoryDataSet > | getDataSet (const TrajectoryDataSetInfo &info, const te::gm::Geometry &geom, te::gm::SpatialRelation r, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns patches of a trajectory whose geometries satisfy a given spatial relation. More... | |
std::auto_ptr< TrajectoryDataSet > | getDataSet (const TrajectoryDataSetInfo &info, const te::gm::Envelope &e, te::gm::SpatialRelation r, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns patches of a trajectory whose geometries satisfy a given spatial relation. More... | |
std::auto_ptr< TrajectoryDataSet > | getDataSet (const TrajectoryDataSetInfo &info, const te::dt::DateTime &dt, te::dt::TemporalRelation r=te::dt::DURING, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations of trajectories whose times satisfy a given temporal relation. More... | |
std::auto_ptr< TrajectoryDataSet > | getDataSet (const TrajectoryDataSetInfo &info, const te::dt::DateTime &dt, te::dt::TemporalRelation tr, const te::gm::Envelope &e, te::gm::SpatialRelation sr=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns patches of a trajectory whose envelope satisfy a given spatial relation and times satisfy a given temporal relation. More... | |
std::auto_ptr< TrajectoryDataSet > | getDataSet (const TrajectoryDataSetInfo &info, const te::gm::Geometry &geom, te::gm::SpatialRelation sr, const te::dt::DateTime &dt, te::dt::TemporalRelation tr, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns patches of a trajectory whose geometries satisfy a given spatial relation and times satisfy a given temporal relation. More... | |
void | getInfo (const TimeSeriesDataSetInfo &input, std::vector< TimeSeriesDataSetInfo > &output) |
It returns the information about all time series that exist in a single DataSet. More... | |
std::auto_ptr< TimeSeriesDataSet > | getDataSet (const TimeSeriesDataSetInfo &info, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations of time series. More... | |
std::auto_ptr< TimeSeriesDataSet > | getDataSet (const TimeSeriesDataSetInfo &info, const te::gm::Geometry &geom, te::gm::SpatialRelation r, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns data set with observations of time series whose geometries satisfy a given spatial relation. More... | |
std::auto_ptr< TimeSeriesDataSet > | getDataSet (const TimeSeriesDataSetInfo &info, const te::gm::Envelope &e, te::gm::SpatialRelation r, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns data set with observations of time series whose geometries satisfy a given spatial relation. More... | |
std::auto_ptr< TimeSeriesDataSet > | getDataSet (const TimeSeriesDataSetInfo &info, const te::dt::DateTime &dt, te::dt::TemporalRelation r=te::dt::DURING, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns a data set with observations of time series whose times satisfy a given temporal relation. More... | |
std::auto_ptr< TimeSeriesDataSet > | getDataSet (const TimeSeriesDataSetInfo &info, const te::dt::DateTime &dt, te::dt::TemporalRelation tr, const te::gm::Envelope &e, te::gm::SpatialRelation sr=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns data set with observations of time series whose geometries satisfy a given spatial relation and times satisfy a given temporal relation. More... | |
std::auto_ptr< TimeSeriesDataSet > | getDataSet (const TimeSeriesDataSetInfo &info, const te::gm::Geometry &geom, te::gm::SpatialRelation sr, const te::dt::DateTime &dt, te::dt::TemporalRelation tr, te::common::TraverseType travType=te::common::FORWARDONLY) |
It returns data set with observations of time series whose geometries satisfy a given spatial relation and times satisfy a given temporal relation. More... | |
std::auto_ptr< te::dt::DateTimePeriod > | getTemporalExtent (const ObservationDataSetInfo &info) |
It returns the temporal extent of the data set with observations. More... | |
std::auto_ptr< te::dt::DateTimePeriod > | getTemporalExtent (const TrajectoryDataSetInfo &info) |
It returns the temporal extent of the data set with observations of a trajectory. More... | |
std::auto_ptr< te::dt::DateTimePeriod > | getTemporalExtent (const TimeSeriesDataSetInfo &info) |
It returns the temporal extent of the data set with observations of a time series. More... | |
te::gm::Envelope | getSpatialExtent (const ObservationDataSetInfo &info) |
It returns the temporal extent of the data set with observations of a coverage series. More... | |
te::gm::Envelope | getSpatialExtent (const TrajectoryDataSetInfo &info) |
It returns the spatial extent of the observations of a trajectory. More... | |
Protected Member Functions | |
std::auto_ptr< ObservationDataSet > | buildDataSet (te::stmem::DataSet *ds, const ObservationDataSetInfo &info) |
It builds an ObservationDataSet from a given DataSet. More... | |
std::auto_ptr< TrajectoryDataSet > | buildDataSet (te::stmem::DataSet *ds, const TrajectoryDataSetInfo &info) |
It builds an TrajectoryDataSet from a given DataSet. More... | |
std::auto_ptr< TimeSeriesDataSet > | buildDataSet (te::stmem::DataSet *ds, const TimeSeriesDataSetInfo &info) |
It builds an TimeSeriesDataSet from a given DataSet. More... | |
void | loadDataSet (const te::da::DataSourceInfo &info, const std::string dsname, const std::string &begTimePropName, const std::string &endTimePropName, const std::string &gmPropName) |
It loads DataSet from the original DataSource and put it in the In-Memory DataSource. More... | |
Private Attributes | |
te::da::DataSourcePtr | m_ds |
A class responsible for loading spatiotemporal data from a ST in-memory DataSource which contains an internal chache of in-memory DataSets indexed by space and time.
All infos about the DataSets that contains observations, such as ObservationDataSetInfo, TrajectoryDataSetInfo, etc, contains information about the original DataSource and DataSet.
TO DO: verificar o nome do DataSet: do jeito que está não pode ter nome repetido!
Definition at line 59 of file STDataLoaderFromMemDS.h.
te::st::STDataLoaderFromMemDS::STDataLoaderFromMemDS | ( | ) |
Constructor.
|
virtual |
|
protected |
It builds an ObservationDataSet from a given DataSet.
|
protected |
It builds an TrajectoryDataSet from a given DataSet.
|
protected |
It builds an TimeSeriesDataSet from a given DataSet.
|
virtual |
It returns a ObservationDataSet, that is, a DataSet that contains observations.
info | Information about the DataSource which the observation are from and the DataSet which contains the observations. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations whose observed geometries satisfy a given spatial relation.
info | Information about the DataSource which the observation are from and the DataSet which contains the observations. |
e | A given envelope. |
r | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations whose observed geometries satisfy a given spatial relation.
The possible spatial relations implemented here are: INTERSECTS
info | Information about the DataSource which the observation are from and the DataSet which contains the observations. |
geom | A given geometry. |
r | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations whose phenomenon times satisfy a given temporal relation.
The possible temporal relations are:
info | Information about the DataSource which the observation are from and the DataSet which contains the observations. |
dt | A given datetime. |
r | A given temporal relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations whose observed geometries satisfy a given spatial relation and phenomenon times satisfy a given temporal relation.
The possible temporal relations are:
info | Information about the DataSource which the observation of trajectpries are from and the DataSet which contains the observations. |
dt | A given datetime. |
tr | A given temporal relation. |
e | A given envelope. |
sr | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations whose observed geometries satisfy a given spatial relation and phenomenon times satisfy a given temporal relation.
The possible spatial relations are: INTERSECTS The possible temporal relations are:
info | Information about the DataSource which the observation are from and the DataSet which contains the observations. |
geom | A given geometry. |
sr | A given spatial relation. |
dt | A given datetime. |
tr | A given temporal relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations of a trajectory.
When the DataSet contains more than one trajectory, the info parameter (TrajectoryDataSetInfo) must contain the id of the desire trajectory that must be returned as a TrajectoryDataSet.
info | Information about the DataSource which the observations of a trajectory are from and the DataSet which contains these observations. |
travType | The traverse type associated to the returned datasets. |
rwRole | The read and write permission associated to the returned datasets. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns patches of a trajectory whose geometries satisfy a given spatial relation.
When the DataSet contains more than one trajectory, the info parameter (TrajectoryDataSetInfo) must contain the id of the desire trajectory that must be returned as a TrajectoryDataSet.
The possible spatial relations implemented here are: INTERSECTS
info | Information about the DataSource which the observations of a trajectory are from and the DataSet which contains these observations. |
geom | A given geometry. |
r | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns patches of a trajectory whose geometries satisfy a given spatial relation.
When the DataSet contains more than one trajectory, the info parameter (TrajectoryDataSetInfo) must contain the id of the desire trajectory that must be returned as a TrajectoryDataSet.
info | Information about the DataSource which the observations of a trajectory are from and the DataSet which contains the observations. |
e | A given envelope. |
r | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations of trajectories whose times satisfy a given temporal relation.
When the DataSet contains more than one trajectory, the info parameter (TrajectoryDataSetInfo) must contain the id of the desire trajectory that must be returned as a TrajectoryDataSet.
The possible temporal relations are:
info | Information about the DataSource which the observation of trajectpries are from and the DataSet which contains the observations. |
dt | A given datetime. |
r | A given temporal relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns patches of a trajectory whose envelope satisfy a given spatial relation and times satisfy a given temporal relation.
When the DataSet contains more than one trajectory, the info parameter (TrajectoryDataSetInfo) must contain the id of the desire trajectory that must be returned as a TrajectoryDataSet.
The possible temporal relations are:
info | Information about the DataSource which the observation of trajectpries are from and the DataSet which contains the observations. |
dt | A given datetime. |
tr | A given temporal relation. |
e | A given envelope. |
sr | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns patches of a trajectory whose geometries satisfy a given spatial relation and times satisfy a given temporal relation.
When the DataSet contains more than one trajectory, the info parameter (TrajectoryDataSetInfo) must contain the id of the desire trajectory that must be returned as a TrajectoryDataSet.
The possible spatial relations are: INTERSECTS The possible temporal relations are:
info | Information about the DataSource which the observations of trajectories are from and the DataSet which contains these observations. |
geom | A given geometry. |
sr | A given spatial relation. |
dt | A given datetime. |
tr | A given temporal relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations of time series.
When the DataSet contains more than one time series, the info parameter (TimeSeriesDataSetInfo) must contain the id of the desire time series that must be returned as a TimeSeriesDataSet.
info | Information about the DataSource which the observations of a time series are from and the DataSet which contains these observations. |
travType | The traverse type associated to the returned datasets. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns data set with observations of time series whose geometries satisfy a given spatial relation.
info | Information about the DataSource which the observations of a time series are from and the DataSet which contains the observations. |
geom | A given geometry. |
r | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns data set with observations of time series whose geometries satisfy a given spatial relation.
info | Information about the DataSource which the observations of a time series are from and the DataSet which contains the observations. |
e | A given envelope. |
r | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns a data set with observations of time series whose times satisfy a given temporal relation.
When the DataSet contains more than one time series, the info parameter (TimeSeriesDataSetInfo) must contain the id of the desire time series that must be returned as a TimeSeriesDataSet.
The possible temporal relations are:
info | Information about the DataSource which the observation of time series are from and the DataSet which contains the observations. |
dt | A given datetime. |
r | A given temporal relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns data set with observations of time series whose geometries satisfy a given spatial relation and times satisfy a given temporal relation.
info | Information about the DataSource which the observations of a time series are from and the DataSet which contains the observations. |
dt | A given datetime. |
tr | A given temporal relation. |
e | A given envelope. |
sr | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns data set with observations of time series whose geometries satisfy a given spatial relation and times satisfy a given temporal relation.
info | Information about the DataSource which the observations of a time series are from and the DataSet which contains the observations. |
e | A given envelope. |
r | A given spatial relation. |
travType | The traverse type associated to the returned dataset. |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns the information about all trajectories that exist in a single DataSet.
The information about the DataSource and DataSet that contains trajectories is defined as a TrajectoryDataSetInfo (input parameter).
The information about each trajectory (its correct id) is returned as a TrajectoryDataSetInfo of the parameter output. These results can be used to create TrajectoryDataSetLayers.
input | The information about the DataSource and DataSet that contains trajectories |
output | The information about each trajectory (its correct id). |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns the information about all time series that exist in a single DataSet.
The information about the DataSource and DataSet that contains time series is defined as a TimeSeriesDataSetInfo (input parameter).
The information about each time series (its correct id) is returned as a TimeSeriesDataSetInfo of the parameter output. These results can be used to create TimeSeriesDataSetLayers.
input | The information about the DataSource and DataSet that contains time series |
output | The information about each time series (its correct id). |
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns the temporal extent of the data set with observations of a coverage series.
It returns the spatial extent of the observations, when there is an observed value of geometry type.
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns the spatial extent of the observations of a trajectory.
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns the temporal extent of the data set with observations.
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns the temporal extent of the data set with observations of a trajectory.
Implements te::st::STDataLoaderImpl.
|
virtual |
It returns the temporal extent of the data set with observations of a time series.
Implements te::st::STDataLoaderImpl.
|
protected |
It loads DataSet from the original DataSource and put it in the In-Memory DataSource.
|
private |
Definition at line 188 of file STDataLoaderFromMemDS.h.