26#ifndef __TERRALIB_ST_INTERNAL_TRAJECTORYDATASET_H
27#define __TERRALIB_ST_INTERNAL_TRAJECTORYDATASET_H
30#include "../../Config.h"
33#include <boost/noncopyable.hpp>
40namespace te {
namespace dt {
class DateTime;
class DateTimePeriod;
class DateTimeProperty;} }
41namespace te {
namespace gm {
class Geometry;
class Envelope;
class GeometryProperty; } }
48 class ObservationDataSet;
49 class ObservationDataSetType;
51 class AbstractTrajectoryInterp;
52 class TrajectoryDataSetLayer;
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,...
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.
A class to represent a trajectory data set.
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.
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.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.