27 #ifndef __TERRALIB_ST_INTERNAL_ABSTRACTSTDATASETLAYER_H
28 #define __TERRALIB_ST_INTERNAL_ABSTRACTSTDATASETLAYER_H
31 #include "../Config.h"
34 #include "../../datatype/Enums.h"
35 #include "../../maptools/AbstractLayer.h"
38 namespace te {
namespace dt {
class DateTime;
class DateTimePeriod; } }
An abstract class to represent a period of date and time.
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
This is the base class for layers.
A layer with reference to a dataset that contains spatiotemporal data.
virtual std::unique_ptr< te::da::DataSet > getData(const te::dt::DateTime &dt, te::dt::TemporalRelation r=te::dt::DURING, te::common::TraverseType travType=te::common::FORWARDONLY, te::common::AccessPolicy rwRole=te::common::RAccess) const =0
It gets the dataset using a temporal filter over the phenomenon time property.
virtual ~AbstractSTDataSetLayer()
Virtual Destructor.
AbstractSTDataSetLayer(AbstractLayer *parent=0)
It initializes a new layer.
virtual std::unique_ptr< te::da::DataSet > getData(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, te::common::AccessPolicy rwRole=te::common::RAccess) const =0
It gets the dataset using a temporal filter over the phenomenon time property and a spatial filter ov...
virtual std::unique_ptr< te::da::DataSet > getData(const te::dt::DateTime &dt, te::dt::TemporalRelation tr, const te::gm::Geometry &g, te::gm::SpatialRelation sr=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY, te::common::AccessPolicy rwRole=te::common::RAccess) const =0
It gets the dataset using a temporal filter over the phenomenon time property and a spatial filter ov...
AbstractSTDataSetLayer(const std::string &id, AbstractLayer *parent=0)
It initializes a new layer.
virtual te::dt::DateTimePeriod * getTemporalExtent() const =0
It returns the layer temporal extent.
AbstractSTDataSetLayer(const std::string &id, const std::string &title, AbstractLayer *parent=0)
It initializes a new Layer.
TraverseType
A dataset can be traversed in two ways:
AccessPolicy
Supported data access policies (can be used as bitfield).
TemporalRelation
Temporal relations between date and time (Source: Allen, 1991).
SpatialRelation
Spatial relations between geometric objects.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.