20 #include <QStringList> 63 int countNodes()
const;
64 int countWays()
const;
91 bool prepareStatements();
92 int runCountStatement(
const char* sql )
const;
97 void deleteStatement( sqlite3_stmt*& stmt );
102 bool createSpatialIndex(
const QString& tableName );
116 sqlite3_stmt* mStmtNode;
117 sqlite3_stmt* mStmtNodeTags;
118 sqlite3_stmt* mStmtWay;
119 sqlite3_stmt* mStmtWayNode;
120 sqlite3_stmt* mStmtWayNodePoints;
121 sqlite3_stmt* mStmtWayTags;
178 #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)
QString errorString() const
Encapsulate iteration over table of nodes/.