QGIS API Documentation  2.15.0-Master (5773d0d)
Public Member Functions | List of all members
QgsOSMElement Class Reference

Elements (also data primitives) are the basic components in OpenStreetMap from which everything else is defined. More...

#include <qgsosmbase.h>

Inheritance diagram for QgsOSMElement:
Inheritance graph
[legend]

Public Member Functions

 QgsOSMElement ()
 
 QgsOSMElement (QgsOSMElementID::Type t, QgsOSMId id)
 
QgsOSMElementID elemID () const
 
QgsOSMId id () const
 
bool isValid () const
 

Detailed Description

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.

Constructor & Destructor Documentation

QgsOSMElement::QgsOSMElement ( )
inline

Definition at line 32 of file qgsosmbase.h.

QgsOSMElement::QgsOSMElement ( QgsOSMElementID::Type  t,
QgsOSMId  id 
)
inline

Definition at line 33 of file qgsosmbase.h.

Member Function Documentation

QgsOSMElementID QgsOSMElement::elemID ( ) const
inline

Definition at line 38 of file qgsosmbase.h.

QgsOSMId QgsOSMElement::id ( ) const
inline

Definition at line 39 of file qgsosmbase.h.

bool QgsOSMElement::isValid ( ) const
inline

Definition at line 35 of file qgsosmbase.h.


The documentation for this class was generated from the following file: