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"
86 const std::string& getSource()
const;
88 const std::vector<Feature*>& getAllFeatures()
const;
90 std::vector<Feature*> getNewFeatures()
const;
92 std::vector<Feature*> getFeatures(
const te::gm::Envelope& e,
int srid)
const;
100 void set(
const std::size_t& pos,
Feature* f);
118 #endif // __TERRALIB_EDIT_INTERNAL_REPOSITORY_H
te::sam::rtree::Index< std::size_t, 8 > m_rtree
Internal index used to retrieve geometries spatially.
#define TEEDITEXPORT
You can use this macro in order to export/import classes and functions from this module.
An Envelope defines a 2D rectangular region.
This class represents an unique id for a data set element.
Configuration flags for the TerraLib Edit module.
std::vector< Feature * > m_features
The repository features.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::string m_source
The source of the features.
This class represents a repository of geometries and features.