67 QList<QgsOSMElementID> ways()
const;
68 QList<QgsOSMElementID> relations()
const;
88 QList<QgsOSMId>
nodes()
const {
return mNodes; }
94 QList<QgsOSMId> mNodes;
108 QString relationType()
const;
110 QList< QPair<QgsOSMElementID, QString> > members()
const;
122 int count()
const {
return mMap.count(); }
123 QList<QString>
keys()
const {
return mMap.keys(); }
124 bool contains(
const QString& k )
const {
return mMap.contains( k ); }
125 void insert(
const QString& k,
const QString& v ) { mMap.insert( k, v ); }
126 QString
value(
const QString& k )
const {
return mMap.value( k ); }
129 QMap<QString, QString> mMap;
A way is an ordered list of nodes which normally also has at least one tag or is included within a Re...
Node is a class used by Line3D.
Elements (also data primitives) are the basic components in OpenStreetMap from which everything else ...
QgsOSMWay(QgsOSMId id, const QList< QgsOSMId > nodes)
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...
QgsOSMElement(QgsOSMElementID::Type t, QgsOSMId id)
A class to represent a point.
QList< QgsOSMId > nodes() const
QgsOSMNode(QgsOSMId id, const QgsPoint &point)
QgsOSMElementID elemID() const