QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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)
 
bool isValid () const
 
QgsOSMDatabasedatabase () const
 
QgsOSMElementID elemID () const
 
QgsOSMId id () 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.

Constructor & Destructor Documentation

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

Member Function Documentation

QgsOSMDatabase* QgsOSMElement::database ( ) const
QgsOSMElementID QgsOSMElement::elemID ( ) const
inline
QgsOSMId QgsOSMElement::id ( ) const
inline
bool QgsOSMElement::isValid ( ) const
inline

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