QGIS API Documentation
2.8.2-Wien
|
Elements (also data primitives) are the basic components in OpenStreetMap from which everything else is defined. More...
#include <qgsosmbase.h>
Public Member Functions | |
QgsOSMElement () | |
QgsOSMElement (QgsOSMElementID::Type t, QgsOSMId id) | |
QgsOSMDatabase * | database () const |
QgsOSMElementID | elemID () const |
QgsOSMId | id () const |
bool | isValid () const |
Elements (also data primitives) are the basic components in OpenStreetMap from which everything else is defined.
These consist of Nodes (which define a point in space), Ways (which define a linear features and areas), and Relations - with an optional role - which are sometimes used to define the relation between other elements. All of the above can have one of more associated tags.
Definition at line 29 of file qgsosmbase.h.
|
inline |
Definition at line 32 of file qgsosmbase.h.
|
inline |
Definition at line 33 of file qgsosmbase.h.
QgsOSMDatabase* QgsOSMElement::database | ( | ) | const |
|
inline |
Definition at line 40 of file qgsosmbase.h.
|
inline |
Definition at line 41 of file qgsosmbase.h.
|
inline |
Definition at line 35 of file qgsosmbase.h.