![]() |
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#include <ShapeReader.h>
Public Member Functions | |
ShapeReader (NSString *fileName) | |
Construct with a file name. | |
virtual bool | isValid () |
Return true if we managed to load the file. | |
virtual VectorShapeRef | getNextObject (const StringSet *filterAttrs) |
Return the next feature. | |
virtual bool | canReadByIndex () |
We can do random seeking. | |
virtual unsigned int | getNumObjects () |
The total number of shapes in the file. | |
virtual VectorShapeRef | getObjectByIndex (unsigned int vecIndex, const StringSet *filter) |
Fetch an object by the index. | |
Protected Attributes | |
void * | shp |
void * | dbf |
int | where |
int | numEntity |
int | shapeType |
double | minBound [4] |
double | maxBound [4] |
Shape File Reader. Open a shapefile and return the features as requested.