mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
30 lines
1018 B
C++
30 lines
1018 B
C++
#ifndef _GRATICULECREATOR_H_
|
|
#define _GRATICULECREATOR_H_
|
|
|
|
#include "shapefile.h"
|
|
#include "utils.h"
|
|
|
|
//qt includes
|
|
#include <qstring.h>
|
|
#include <qfile.h>
|
|
|
|
class GraticuleCreator
|
|
{
|
|
public:
|
|
GraticuleCreator::GraticuleCreator(QString theOutputFileName, QString theInputFileName );
|
|
~GraticuleCreator() {};
|
|
DBFHandle GraticuleCreator::createDbf (QString theDbfName ) ;
|
|
SHPHandle GraticuleCreator::createShapeFile(QString theFileName );
|
|
void writeDbfRecord (DBFHandle theDbfHandle, int theRecordIdInt, QString theLabel) ;
|
|
void writePoint(SHPHandle theShapeHandle, int theRecordInt, double theXFloat, double y );
|
|
static void WriteLine(SHPHandle theShapeHandle,
|
|
int theRecordInt,
|
|
int theCoordinateCountInt,
|
|
double * theXArrayDouble,
|
|
double * theYArrayDouble );
|
|
void generatePoints (QString theInputFileName, DBFHandle theDbfHandle, SHPHandle theShapeHandle) ;
|
|
|
|
private:
|
|
};
|
|
#endif
|