19#ifndef _TM_EXPORTDATA_SHP_H_
20#define _TM_EXPORTDATA_SHP_H_
30#include "../gis/tmgisdatavectorshp.h"
31#include "tmexportdata.h"
39 void InitMemberValues();
41 int m_ExportPolyNbIteration;
42 double m_ExportPolyRasterFactor;
43 double m_ExportPolyPercentSkipped;
44 bool m_ExportPolyFast;
47 OGRGeometry* SafeIntersection(OGRGeometry* line, OGRGeometry* frame);
49 OGRGeometry* SafeUnion(OGRGeometry* union1, OGRGeometry* line);
51 OGRGeometry* SafeCreateFromGEOS(GEOSGeom geosGeom);
53 OGRGeometry* SafeBuffer(OGRGeometry* ogrgeom,
double size);
58 void _AppendValidToCollection(OGRGeometry* geometry, OGRGeometryCollection* collection);
78 virtual bool AddOptFields(
const PrjMemFieldArray& myfields);
85 virtual void SetFrame(wxRealPoint* points,
int nbvertex);
99 wxProgressDialog* progDlg,
tmPercent* percent);
109 virtual bool HasFeatures();
Definition databaseresult.h:30
Definition database_tm.h:80
Definition prjdefmemmanage.h:54
Storing layers properties in memory.
Definition projectdefmemory.h:246
Definition tmexportdatashp.h:33
virtual bool WriteLines(ProjectDefMemoryLayers *myLayer)
Write all geometrics lines to the shp.
Definition tmexportdatashp.cpp:237
virtual bool AddFIDField()
Adding Field for storing ToolMap FID.
Definition tmexportdatashp.cpp:220
tmExportDataSHP()
Constructor.
Definition tmexportdatashp.cpp:46
virtual bool WritePoints(ProjectDefMemoryLayers *myLayer)
Write all geometrics points to the shp.
Definition tmexportdatashp.cpp:526
virtual bool AddGenericFields(int iSize)
Adding generic fields.
Definition tmexportdatashp.cpp:201
virtual void SetFrame(wxRealPoint *points, int nbvertex)
Set the frame.
Definition tmexportdatashp.cpp:1101
virtual bool AddOptFields(const PrjMemFieldArray &myfields)
Add optional fields to the Shp.
Definition tmexportdatashp.cpp:151
virtual bool CreateEmptyExportFile(ProjectDefMemoryLayers *myLayer, const wxString &path)
Create empty file.
Definition tmexportdatashp.cpp:94
void Create(DataBaseTM *database)
Creator.
Definition tmexportdatashp.cpp:68
virtual bool WritePolygons(ProjectDefMemoryLayers *myLayer)
Compute polygons from lines.
Definition tmexportdatashp.cpp:762
~tmExportDataSHP()
destructor
Definition tmexportdatashp.cpp:77
Parent class for exporting data.
Definition tmexportdata.h:48
Definition tmgisdatavectorshp.h:36
Definition tmpercent.h:36