Go to the documentation of this file.
26 #ifndef __TERRALIB_EDIT_INTERNAL_REPOSITORY_H
27 #define __TERRALIB_EDIT_INTERNAL_REPOSITORY_H
30 #include "../sam/rtree/Index.h"
31 #include "../srs/Config.h"
120 #endif // __TERRALIB_EDIT_INTERNAL_REPOSITORY_H
An Envelope defines a 2D rectangular region.
void buildIndex(const std::size_t &pos, te::gm::Geometry *geom)
This class represents an unique id for a data set element.
This class represents a repository of geometries and features.
const std::vector< Feature * > & getAllFeatures() const
void add(te::da::ObjectId *id, te::gm::Geometry *geom)
Feature * getFeature(te::da::ObjectId *id) const
te::sam::rtree::Index< std::size_t, 8 > m_rtree
Internal index used to retrieve geometries spatially.
const std::string & getSource() const
void set(te::da::ObjectId *id, te::gm::Geometry *geom)
#define TEEDITEXPORT
You can use this macro in order to export/import classes and functions from this module.
Feature * getFeature(const te::gm::Envelope &e, int srid) const
std::vector< Feature * > m_features
The repository features.
Repository(const std::string &source)
bool hasIdentifier(te::da::ObjectId *id)
std::vector< Feature * > getFeatures(const te::gm::Envelope &e, int srid) const
void add(te::gm::Geometry *geom)
void remove(te::da::ObjectId *id)
void set(const std::size_t &pos, Feature *f)
Proxy configuration file for TerraView (see terraview_config.h).
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::string m_source
The source of the features.
std::size_t getPosition(te::da::ObjectId *id)