QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
A way is an ordered list of nodes which normally also has at least one tag or is included within a Relation. More...
#include <qgsosmbase.h>
Public Member Functions | |
QgsOSMWay () | |
QgsOSMWay (QgsOSMId id, const QList< QgsOSMId > &nodes) | |
QList< QgsOSMId > | nodes () const |
Public Member Functions inherited from QgsOSMElement | |
QgsOSMElement () | |
QgsOSMElement (QgsOSMElementID::Type t, QgsOSMId id) | |
QgsOSMElementID | elemID () const |
QgsOSMId | id () const |
bool | isValid () const |
A way is an ordered list of nodes which normally also has at least one tag or is included within a Relation.
A way can have between 2 and 2,000 nodes, although it's possible that faulty ways with zero or a single node exist. A way can be open or closed. A closed way is one whose last node on the way is also the first on that way. A closed way may be interpreted either as a closed polyline, or an area, or both.
Definition at line 93 of file qgsosmbase.h.
|
inline |
Definition at line 96 of file qgsosmbase.h.
Definition at line 97 of file qgsosmbase.h.
Definition at line 102 of file qgsosmbase.h.