33 #ifndef vtkGDALVectorReader_h
34 #define vtkGDALVectorReader_h
37 #include "vtkIOGDALModule.h"
48 vtkSetStringMacro(FileName);
54 int GetNumberOfLayers();
59 int GetLayerType(
int layerIndex=0);
64 int GetFeatureCount(
int layerIndex=0);
69 int GetActiveLayerType();
74 int GetActiveLayerFeatureCount();
83 vtkGetMacro(ActiveLayer,
int);
94 vtkGetMacro(AppendFeatures,
int);
101 std::map<int, std::string> GetLayersProjection();
106 const char* GetLayerProjection(
int layerIndex);
120 vtkGetMacro(AddFeatureIds,
int);
131 int InitializeInternal();
156 #endif // vtkGDALVectorReader_h
char * FileName
The name of the file that will be opened on the next call to RequestData()
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
vtkGDALVectorReader::Internal * Implementation
Private per-file metadata.
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Read vector file formats using GDAL.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static int OGRRegistered
Global variable indicating whether the OGR library has been registered yet or not.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
std::map< int, std::string > LayersProjection
Mapping of layer to projection.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.