OTB  6.7.0
Orfeo Toolbox
Namespaces | Classes | Typedefs | Functions
otb::ogr Namespace Reference

Namespaces

 internal
 

Classes

class  DataSource
 
class  Drivers
 
class  Feature
 
class  Field
 
class  FieldDefn
 
class  ImageReference
 
class  Layer
 
struct  propagate_const
 
struct  propagate_const< Tin const, Tout >
 
class  StringListConverter
 

Typedefs

typedef
boost::interprocess::unique_ptr
< OGRGeometry,
internal::GeometryDeleter
UniqueGeometryPtr
 

Functions

OTBGdalAdapters_EXPORT bool Contains (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT bool Crosses (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
Difference (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT bool Disjoint (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT double Distance (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT bool Equals (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT
std::vector< std::string > 
GetAvailableDriversAsStringVector ()
 
OTBGdalAdapters_EXPORT
std::vector< std::string > 
GetFileListAsStringVector (GDALDataset *dataset)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
Intersection (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT bool Intersects (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT bool IsFieldSetAndNotNull (OGRFeature *feat, int index)
 
bool operator!= (Layer const &lhs, Layer const &rhs)
 
OTBGdalAdapters_EXPORT bool operator== (Feature const &lhs, Feature const &rhs)
 
OTBGdalAdapters_EXPORT bool operator== (Layer const &lhs, Layer const &rhs)
 
OTBGdalAdapters_EXPORT bool Overlaps (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
SimplifyDontPreserveTopology (OGRGeometry const &g, double tolerance)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
SimplifyPreserveTopology (OGRGeometry const &g, double tolerance)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
SymDifference (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT bool Touches (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
Union (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
UnionCascaded (OGRGeometry const &this_)
 
OTBGdalAdapters_EXPORT bool Within (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
bool operator== (FieldDefn const &lhs, FieldDefn const &rhs)
 
OTBGdalAdapters_EXPORT
std::ostream & 
operator<< (std::ostream &os, FieldDefn const &defn)
 
template<typename TResult , class TGeometry , typename TFunctor >
TResult apply (TGeometry *geometry, TFunctor functor)
 
OTBGdalAdapters_EXPORT
UniqueGeometryPtr 
Simplify (OGRGeometry const &g, double tolerance)
 

Function Documentation

OTBGdalAdapters_EXPORT std::vector<std::string> otb::ogr::GetAvailableDriversAsStringVector ( )

Return the list of available drivers.

Returns
A vector of string containing the list of available drivers.
OTBGdalAdapters_EXPORT std::vector<std::string> otb::ogr::GetFileListAsStringVector ( GDALDataset *  dataset)

Return the list of files composing the dataset.

Parameters
datasetPointer to the dataset to get the file list from. Will not be checked for null pointer.
Returns
A vector of string containing the list of files.
OTBGdalAdapters_EXPORT bool otb::ogr::IsFieldSetAndNotNull ( OGRFeature *  feat,
int  index 
)

Returns true if the field 'index' is set and not-null in the given feature

Before gdal 2.2, it calls OGRFeature::IsFieldSet(). After gdal 2.2, it calls OGRFeature::IsFieldSetAndNotNull()

bool otb::ogr::operator!= ( Layer const &  lhs,
Layer const &  rhs 
)
inline

Definition at line 564 of file otbOGRLayerWrapper.h.

OTBGdalAdapters_EXPORT std::ostream& otb::ogr::operator<< ( std::ostream &  os,
FieldDefn const &  defn 
)
OTBGdalAdapters_EXPORT bool otb::ogr::operator== ( Feature const &  lhs,
Feature const &  rhs 
)
bool otb::ogr::operator== ( FieldDefn const &  lhs,
FieldDefn const &  rhs 
)
inline