26 #ifndef __TERRALIB_ST_INTERNAL_POINTCOVERAGE_H
27 #define __TERRALIB_ST_INTERNAL_POINTCOVERAGE_H
30 #include "../../../sam/rtree/Index.h"
33 #include "../../Config.h"
43 #include <boost/shared_ptr.hpp>
44 #include <boost/ptr_container/ptr_vector.hpp>
98 const std::vector<std::string>& pnames);
117 const std::vector<std::string>& pnames,
int tp);
166 void add(
const te::gm::Point& l, boost::ptr_vector<te::dt::AbstractData>& value);
188 unsigned int getNumberOfProperties()
const;
190 const std::vector<int>& getPropertyTypes()
const;
192 const std::vector<std::string>& getPropertyNames()
const;
194 void getValue(
const te::gm::Point& l, boost::ptr_vector<te::dt::AbstractData>& result)
const;
196 std::auto_ptr<te::dt::AbstractData> getValue(
const te::gm::Point& l,
unsigned int p=0)
const;
198 void getValue(
const te::gm::Polygon& l,
unsigned int p, boost::ptr_vector<te::dt::AbstractData>& result)
const;
200 void getValue(
const te::gm::Polygon& l, boost::ptr_vector<te::dt::AbstractData>& result)
const;
202 void getInt(
const te::gm::Point& l, std::vector<int>& result)
const;
206 void getInt(
const te::gm::Polygon& l,
unsigned int p, std::vector<int>& result)
const;
218 std::auto_ptr<te::rst::Raster> getRaster()
const;
220 std::auto_ptr<te::rst::Raster> getRaster(
unsigned int p)
const;
241 #endif // __TERRALIB_ST_INTERNAL_POINTCOVERAGE_H
An abstract class for interpolation function or interpolator that estimate values at non-observaved l...
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
This file contains an abstract class to represent a coverage.
A concrete class to represent a point coverage.
This file contains a class to represent an observation of a PointCoverage.
std::auto_ptr< te::dt::DateTime > m_textent
PointCoverageObservationSet m_observations
int m_tp
The names of the point coverage properties.
An abstract class to represent a coverage.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
boost::shared_ptr< te::sam::rtree::Index< std::size_t > > PointCvRTreeShrPtr
std::vector< PointCoverageObservation > PointCoverageObservationSet
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::vector< int > m_ptypes
The number of properties of the point coverage.
std::auto_ptr< te::gm::Geometry > m_sextent
A point with x and y coordinate values.
A class to traverse the observations of a PointCoverage.
PointCvRTreeShrPtr m_rTree
A base class for values that can be retrieved from the data access module.
std::vector< std::string > m_pnames
The types of the point coverage properties.
CoverageType
An enum for the types of coverage.
This file contains an iterator that is able to traverse all observations of a point coverage...
boost::shared_ptr< PointCoverageItem > PointCoverageObservation
double getDouble(const std::string &value, std::vector< std::string > &sVector)
AbstractPointCoverageInterp * m_interpolator