QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
QgsOSMDatabasedatabase () const
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

QgsOSMDatabase* QgsOSMElement::database ( ) const
QgsOSMElementID QgsOSMElement::elemID ( ) const
inline

Definition at line 40 of file qgsosmbase.h.

QgsOSMId QgsOSMElement::id ( ) const
inline

Definition at line 41 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: