|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbOGRVectorDataIO_h
22 #define otbOGRVectorDataIO_h
31 #include "OTBIOGDALExport.h"
92 bool CanReadFile(
const char*)
const override;
95 void Read(itk::DataObject* data)
override;
101 bool CanWriteFile(
const char*)
const override;
104 void Write(
const itk::DataObject* data,
char** papszOptions =
nullptr)
override;
115 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
119 void operator=(
const Self&) =
delete;
121 std::string GetOGRDriverName(std::string name)
const;
123 void CloseInternalDataSource();
127 const std::map<std::string, std::string> m_OGRExtensionsToDrivers = {
128 {
".SHP",
"ESRI Shapefile"}, {
".TAB",
"MapInfo File"}, {
".GML",
"GML"}, {
".GPX",
"GPX"}, {
".SQLITE",
"SQLite"}, {
".KML",
"KML"},
129 {
".GMT",
"OGR_GMT"}, {
".GPKG",
"GPKG"}, {
".JSON",
"GeoJSON"}, {
".GEOJSON",
"GeoJSON"}};
134 #endif // otbOGRVectorDataIO_h
PolygonType::Pointer PolygonPointerType
itk::SmartPointer< Self > Pointer
DataNodeType::LineType LineType
Superclass::ByteOrder ByteOrder
DataNodeType::PolygonType PolygonType
VectorData< double, 2 > VectorDataType
itk::SmartPointer< Self > Pointer
itk::Point< PrecisionType, VDimension > PointType
Superclass::PointType OriginType
itk::SmartPointer< Self > Pointer
This class represents a hierarchy of vector data.
This class represents a node of data in a vector data hierarchy.
OTBApplicationEngine_EXPORT void Write(const std::string &filename, Application::Pointer application)
LineType::Pointer LinePointerType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
VectorDataType::ConstPointer VectorDataConstPointerType
InternalTreeNodeType::ChildrenListType ChildrenListType
VectorDataType::Pointer VectorDataPointerType
PolygonListType::Pointer PolygonListPointerType
DataTreeType::ConstPointer DataTreeConstPointerType
itk::SmartPointer< Self > Pointer
DataTreeType::TreeNodeType InternalTreeNodeType
DataTreeType::Pointer DataTreePointerType
itk::TreeContainer< DataNodePointerType > DataTreeType
DataNodeType::PointType PointType
itk::SmartPointer< const Self > ConstPointer
DataNodeType::PolygonListType PolygonListType
Superclass::SpacingType SpacingType
VectorDataType::DataNodeType DataNodeType
Superclass::VertexListType VertexListType
itk::SmartPointer< Self > Pointer
itk::SmartPointer< Self > Pointer
This class implement a PolyLineParametricPath for which a value can be set. The value is stored in th...
OTBApplicationEngine_EXPORT int Read(const std::string &filename, Application::Pointer application)
VertexListType::ConstPointer VertexListConstPointerType
itk::SmartPointer< const Self > ConstPointer
This class represent a 2D polygon.
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
LineType::VertexListType VertexListType
VectorDataType::DataTreeType DataTreeType
DataNodeType::Pointer DataNodePointerType
ImageIO object for reading and writing OGR format vector data.
VectorDataIOBase Superclass
GDALDataset * m_DataSource
Abstract superclass defines VectorData IO interface.