Go to the documentation of this file.
33 #ifndef vtkGDALVectorReader_h
34 #define vtkGDALVectorReader_h
37 #include "vtkIOGDALModule.h"
48 vtkSetStringMacro(FileName);
83 vtkGetMacro(ActiveLayer,
int);
94 vtkGetMacro(AppendFeatures,
int);
120 vtkGetMacro(AddFeatureIds,
int);
156 #endif // vtkGDALVectorReader_h
int GetActiveLayerFeatureCount()
Return the number of features in the active layer (shapes).
int GetActiveLayerType()
Return the active layer type (eg point, line, polygon).
int GetLayerType(int layerIndex=0)
Given a index return layer type (eg point, line, polygon).
int GetFeatureCount(int layerIndex=0)
Given a layer index return number of features (shapes).
const char * GetLayerProjection(int layerIndex)
Return projection string belong to a layer.
static int OGRRegistered
Global variable indicating whether the OGR library has been registered yet or not.
int GetNumberOfLayers()
Return number of layers.
vtkGDALVectorReader::Internal * Implementation
Private per-file metadata.
char * FileName
The name of the file that will be opened on the next call to RequestData()
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
std::map< int, std::string > GetLayersProjection()
Return projection string belong to each layer.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
std::map< int, std::string > LayersProjection
Mapping of layer to projection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkGDALVectorReader * New()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
Read vector file formats using GDAL.
virtual ~vtkGDALVectorReader()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.