26#ifndef __TERRALIB_ST_INTERNAL_TRAJECTORYDATASET_H
27#define __TERRALIB_ST_INTERNAL_TRAJECTORYDATASET_H
33#include <boost/noncopyable.hpp>
101 const std::string&
id);
184 std::unique_ptr<te::dt::DateTime>
getTime()
const;
A dataset is the unit of information manipulated by the data access module of TerraLib.
An abstract class to represent a period of date and time.
The type for date and time types: date, date period, date duration, time duration,...
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
An abstract class for an interpolation function or interpolator that estimates geometries at non-obse...
A class that contains complemental DataSetType information about a DataSet that holds observations.
A class to represent a DataSet that contains observations.
A layer with reference to a dataset that contains trajectories.
ObservationDataSet * getObservationSet() const
It returns the data set that contains the trajectory observations.
const te::gm::GeometryProperty * getGeometryProperty() const
It returns the trajectory geometry property.
virtual ~TrajectoryDataSet()
Virtual destructor.
friend class TrajectoryDataSetLayer
TrajectoryDataSet(te::da::DataSet *ds, const ObservationDataSetType &type)
Constructor.
bool isBeforeBegin() const
std::unique_ptr< te::dt::DateTime > getTime() const
It returns the time pointed by the internal cursor.
std::unique_ptr< te::da::DataSet > release()
It releases all internal pointers, returning its internal DataSet and invalidating itself.
std::string getId() const
It returns the identifier associated to the trajectory.
std::string m_id
The trajectory identification.
std::unique_ptr< Trajectory > getTrajectory()
It returns the trajectory from the DataSet.
const te::dt::DateTimeProperty * getTimeProperty() const
It returns the trajectory datetime property.
TrajectoryDataSet(te::da::DataSet *ds, const ObservationDataSetType &type, const std::string &id)
Constructor.
TrajectoryDataSet(ObservationDataSet *obs, const std::string &id)
Constructor.
std::unique_ptr< te::gm::Geometry > getGeometry() const
It returns the geometry pointed by the internal cursor.
std::unique_ptr< Trajectory > getTrajectory(AbstractTrajectoryInterp *interp)
It returns the trajectory from the DataSet.
const te::gm::Geometry * getSpatialExtent() const
It returns the spatial extent of the trajectory observations.
void setId(const std::string &id)
It sets the identifier associated to the trajectory.
std::size_t size() const
It returns the size of the trajectory observation set.
const te::dt::DateTimePeriod * getTemporalExtent() const
It returns the temporal extent of the trajectory observations.
std::unique_ptr< ObservationDataSet > m_obsDs
The data set that contains the trajectory observations.
A class to represent trajectory.
Namespace for the Data Type module of TerraLib.
Namespace for the Vector Geometry module of TerraLib.
Namespace for the TerraLib ST module.
Teste git! Configuration flags for the st (spatiotemporal) module of TerraLib.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.