QGIS API Documentation
2.8.2-Wien
|
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) | |
QgsOSMDatabase * | database () const |
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 82 of file qgsosmbase.h.
|
inline |
Definition at line 85 of file qgsosmbase.h.
Definition at line 86 of file qgsosmbase.h.
|
inline |
Definition at line 88 of file qgsosmbase.h.