OTB  9.0.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::GeometryDeleterUniqueGeometryPtr
 

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 UniqueGeometryPtr Intersection (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
OTBGdalAdapters_EXPORT bool Intersects (OGRGeometry const &lhs, OGRGeometry const &rhs)
 
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 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)
 

Function Documentation

◆ GetAvailableDriversAsStringVector()

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.

◆ GetFileListAsStringVector()

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.

◆ IsFieldSetAndNotNull()

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()

◆ operator!=()

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

Definition at line 598 of file otbOGRLayerWrapper.h.

◆ operator<<()

OTBGdalAdapters_EXPORT std::ostream& otb::ogr::operator<< ( std::ostream &  os,
FieldDefn const &  defn 
)

◆ operator==() [1/2]

OTBGdalAdapters_EXPORT bool otb::ogr::operator== ( Feature const &  lhs,
Feature const &  rhs 
)

◆ operator==() [2/2]

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