20 #include <QStringList>
63 int countNodes()
const;
64 int countWays()
const;
82 bool exportSpatiaLite( ExportType type,
const QString& tableName,
87 bool prepareStatements();
88 int runCountStatement(
const char* sql )
const;
89 void deleteStatement( sqlite3_stmt*& stmt );
94 bool createSpatialIndex(
const QString& tableName );
108 sqlite3_stmt* mStmtNode;
109 sqlite3_stmt* mStmtNodeTags;
110 sqlite3_stmt* mStmtWay;
111 sqlite3_stmt* mStmtWayNode;
112 sqlite3_stmt* mStmtWayNodePoints;
113 sqlite3_stmt* mStmtWayTags;
155 #endif // OSMDATABASE_H
A way is an ordered list of nodes which normally also has at least one tag or is included within a Re...
Encapsulate iteration over table of ways.
QPair< QString, int > QgsOSMTagCountPair
A node is one of the core elements in the OpenStreetMap data model.
Class that encapsulates access to OpenStreetMap data stored in a database previously imported from XM...
void setFileName(const QString &dbFileName)
Encapsulate iteration over table of nodes.
QString errorString() const