mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
25 lines
785 B
C++
25 lines
785 B
C++
#ifndef _WAYPOINTTOSHAPE_H_
|
|
#define _WAYPOINTTOSHAPE_H_
|
|
|
|
#include "shapefil.h"
|
|
#include "utils.h"
|
|
|
|
//qt includes
|
|
#include <qstring.h>
|
|
#include <qfile.h>
|
|
|
|
class WayPointToShape
|
|
{
|
|
public:
|
|
WayPointToShape::WayPointToShape(QString theOutputFileName, QString theInputFileName );
|
|
~WayPointToShape() {};
|
|
DBFHandle WayPointToShape::createDbf (QString theDbfName ) ;
|
|
SHPHandle WayPointToShape::createShapeFile(QString theFileName );
|
|
void writeDbfRecord (DBFHandle theDbfHandle, int theRecordIdInt, QString theLabel) ;
|
|
void writePoint(SHPHandle theShapeHandle, int theRecordInt, double theXFloat, double y );
|
|
void generatePoints (QString theInputFileName, DBFHandle theDbfHandle, SHPHandle theShapeHandle) ;
|
|
|
|
private:
|
|
};
|
|
#endif
|